summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-07-23 18:41:34 +0200
committerMatthew Garrett <mjg@redhat.com>2010-08-03 15:49:10 +0200
commit5ca56718917a353a7a916b182f6d7f1f2479c5bf (patch)
tree98fa5549b0d7f4275ee8e2e239a0237a3094b148 /drivers
parentgpio: Add PMIC GPIO block support (diff)
downloadlinux-5ca56718917a353a7a916b182f6d7f1f2479c5bf.tar.xz
linux-5ca56718917a353a7a916b182f6d7f1f2479c5bf.zip
compal-laptop: depends on POWER_SUPPLY
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@oracle.com> Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Cc: Matthew Garrett <mjg@redhat.com> Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index ca30e561859e..f6444af1136f 100644
--- a/drivers/platform/x86/Kconfig
+++ b/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: