dell-laptop: depends on POWER_SUPPLY
Subsystems (2)
PATCH 1/1 dell-laptop: depends on POWER_SUPPLY
From: Randy Dunlap <[email protected]>
Build breaks when DELL_LAPTOP=y and POWER_SUPPLY=m. DELL_LAPTOP needs to depend on POWER_SUPPLY.
dell-laptop.c:(.text+0x1ef3c4): undefined reference to power_supply_is_system_supplied' dell-laptop.c:(.text+0x1ef45e): undefined reference to power_supply_is_system_supplied'
Signed-off-by Randy Dunlap <[email protected]>
cc Matthew Garrett <[email protected]>
--- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -0
@@ -62,6 +62,7 @@ config DELL_LAPTOP depends on EXPERIMENTAL depends on BACKLIGHT_CLASS_DEVICE depends on RFKILL + depends on POWER_SUPPLY default n ---help--- This driver adds support for rfkill and backlight control to Dell