Skip to content

Commit 654ddf8

Browse files
arndbij-intel
authored andcommitted
platform/x86: bitland-mifs-wmi: add CONFIG_LEDS_CLASS dependency
The newly added driver requires the LED classdev support and causes a link failure when that is disabled: x86_64-linux-ld: vmlinux.o: in function `bitland_mifs_wmi_probe': bitland-mifs-wmi.c:(.text+0xede02a): undefined reference to `devm_led_classdev_register_ext' Fixes: dc1ec4f ("platform/x86: bitland-mifs-wmi: Add new Bitland MIFS WMI driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260519202804.1339581-1-arnd@kernel.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 53a8f95 commit 654ddf8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ config BITLAND_MIFS_WMI
118118
depends on ACPI_WMI
119119
depends on HWMON
120120
depends on INPUT
121+
depends on LEDS_CLASS
121122
depends on POWER_SUPPLY
122123
select ACPI_PLATFORM_PROFILE
123124
select INPUT_SPARSEKMAP

0 commit comments

Comments
 (0)