Просмотр исходного кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <[email protected]>
Til Kaiser 1 год назад
Родитель
Сommit
ad3a7fc129
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      package/kernel/linux/modules/leds.mk

+ 2 - 1
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