summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTil Kaiser2024-04-28 12:25:23 +0000
committerHauke Mehrtens2024-08-29 18:39:48 +0000
commitad3a7fc129590ce67f4a9057748c83df7e6a5ed2 (patch)
tree94cfb014526ecc6a89fd4bc0f5201a2137b9606a
parent61878706f9ca334ffa57be3cc28b7bf9aea6eaa6 (diff)
downloadopenwrt-ad3a7fc129590ce67f4a9057748c83df7e6a5ed2.tar.gz
kernel: modules: add x86 dependency for leds-mlxcpld
This commit adds the missing x86 dependency for the Mellanox mlxcpld LED driver. Signed-off-by: Til Kaiser <mail@tk154.de> Link: https://github.com/openwrt/openwrt/pull/15362 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/linux/modules/leds.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 60465a8ad5..8b24cb0ef8 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -150,8 +150,9 @@ $(eval $(call KernelPackage,leds-apu))
define KernelPackage/leds-mlxcpld
SUBMENU:=$(LEDS_MENU)
TITLE:=LED support for the Mellanox boards
- FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko
+ DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_LEDS_MLXCPLD
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko
AUTOLOAD:=$(call AutoProbe,leds-mlxcpld)
endef