Skip to contentSkip to conversation

dell-laptop: depends on POWER_SUPPLY

PATCH New Randy Dunlap 1 participant 1 message Feb 10, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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'

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