From ad3a7fc129590ce67f4a9057748c83df7e6a5ed2 Mon Sep 17 00:00:00 2001 From: Til Kaiser Date: Sun, 28 Apr 2024 14:25:23 +0200 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/15362 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/leds.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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