From: Randy Dunlap on
From: Randy Dunlap <randy.dunlap(a)oracle.com>

compal-laptop uses power_supply interfaces so it should depend
on POWER_SUPPLY.

ERROR: "power_supply_register" [drivers/platform/x86/compal-laptop.ko] undefined!
ERROR: "power_supply_unregister" [drivers/platform/x86/compal-laptop.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com>
Cc: Cezary Jackiewicz <cezary.jackiewicz(a)gmail.com>
Cc: Matthew Garrett <mjg(a)redhat.com>
Cc: platform-driver-x86(a)vger.kernel.org
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20100723.orig/drivers/platform/x86/Kconfig
+++ linux-next-20100723/drivers/platform/x86/Kconfig
@@ -183,6 +183,7 @@ config COMPAL_LAPTOP
depends on BACKLIGHT_CLASS_DEVICE
depends on RFKILL
depends on HWMON
+ depends on POWER_SUPPLY
---help---
This is a driver for laptops built by Compal:

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/