Skip to contentSkip to conversation

power_supply: fix dependency of tosa_battery

PATCH New Dmitry Baryshkov 1 participant 1 message Sep 8, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power_supply: fix dependency of tosa_battery

tosa_battery should also depend on wm97xx_ts as it uses dac-accessing functions from that module.

---
 drivers/power/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/power/Kconfig +1 -1
index 9ce5585..b001984 100644
@@ -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.
Signature · 1 line
1.5.6.5