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>
This commit is contained in:
Til Kaiser 2024-04-28 14:25:23 +02:00 committed by Hauke Mehrtens
parent 61878706f9
commit ad3a7fc129

View File

@ -150,8 +150,9 @@ $(eval $(call KernelPackage,leds-apu))
define KernelPackage/leds-mlxcpld define KernelPackage/leds-mlxcpld
SUBMENU:=$(LEDS_MENU) SUBMENU:=$(LEDS_MENU)
TITLE:=LED support for the Mellanox boards TITLE:=LED support for the Mellanox boards
FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_LEDS_MLXCPLD KCONFIG:=CONFIG_LEDS_MLXCPLD
FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko
AUTOLOAD:=$(call AutoProbe,leds-mlxcpld) AUTOLOAD:=$(call AutoProbe,leds-mlxcpld)
endef endef