aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2008-12-29 12:11:33 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-29 12:11:33 +0000
commit819eb8196422f5fbe19690c903093ccc37519227 (patch)
tree842bf97a865e2ba2c7d63d963a723d0ebb8a7f2f /include
parent4c92928c63ab443dc1d3f5368c0fd6ae40c36c83 (diff)
Manually restart charger periodically
This avoids excessive discharges seen in case of Li-ion batteries even when charger is connected. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/pcf50633/mbc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/mbc.h b/include/linux/mfd/pcf50633/mbc.h
index 9a7938ad132..5ba4aeedc28 100644
--- a/include/linux/mfd/pcf50633/mbc.h
+++ b/include/linux/mfd/pcf50633/mbc.h
@@ -132,6 +132,8 @@ struct pcf50633_mbc {
struct power_supply usb;
struct power_supply adapter;
+ struct delayed_work charging_restart_work;
+
struct platform_device *pdev;
};
#endif