power_supply: fix dependency of tosa_battery
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Mon, 22 Sep 2008 21:06:01 +0000 (14:06 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 25 Sep 2008 23:44:13 +0000 (03:44 +0400)
tosa_battery should also depend on wm97xx_ts as it uses dac-accessing
functions from that module.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/Kconfig

index b2bd104..ae095a4 100644 (file)
@@ -51,7 +51,7 @@ config BATTERY_OLPC
 
 config BATTERY_TOSA
        tristate "Sharp SL-6000 (tosa) battery"
-       depends on MACH_TOSA && MFD_TC6393XB
+       depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
        help
          Say Y to enable support for the battery on the Sharp Zaurus
          SL-6000 (tosa) models.