History

platform/x86: int3472/discrete: add LEDS_CLASS dependency

int3472 now fails to link when the LED support is disabled: x86_64-linux-ld: drivers/platform/x86/intel/int3472/led.o: in function `skl_int3472_register_pled': led.c:(.text+0xf4): undefined reference to `led_classdev_register_ext' x86_64-linux-ld: led.c:(.text+0x131): undefined reference to `led_add_lookup' x86_64-linux-ld: drivers/platform/x86/intel/int3472/led.o: in function `skl_int3472_unregister_pled': led.c:(.text+0x16b): undefined reference to `led_remove_lookup' x86_64-linux-ld: led.c:(.text+0x177): undefined reference to `led_classdev_unregister' Add an explicit Kconfig dependency.

Arnd Bergmann committed 3 years ago

Commit b9195401 parent 23d18a21 file · +1 −0Browse files

Unified · Split

drivers/platform/x86/intel/int3472/Kconfig+1−0
@@ -4,6 +4,7 @@ config INTEL_SKL_INT3472 · 3 unmodified lines
44 depends on COMMON_CLK
55 depends on I2C
66 depends on GPIOLIB
7+ depends on LEDS_CLASS
78 depends on REGULATOR
89 select MFD_CORE
910 select REGMAP_I2C

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t