From: Dmitry Baryshkov Date: Mon, 22 Sep 2008 21:06:01 +0000 (-0700) Subject: power_supply: fix dependency of tosa_battery X-Git-Tag: v2.6.28-rc1~93^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a9037887ccea92152b034edeb15d453d1a98555;p=linux-2.6-omap-h63xx.git power_supply: fix dependency of tosa_battery tosa_battery should also depend on wm97xx_ts as it uses dac-accessing functions from that module. Signed-off-by: Dmitry Baryshkov Signed-off-by: Andrew Morton Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index b2bd104b986..ae095a498db 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -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.