[PATCH] dell-laptop: depends on POWER_SUPPLY

From: Randy Dunlap
Date: Tue Feb 10 2009 - 12:26:29 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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 <randy.dunlap@xxxxxxxxxx>
cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20090210.orig/drivers/platform/x86/Kconfig
+++ linux-next-20090210/drivers/platform/x86/Kconfig
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/