diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-09-11 18:00:27 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:55 +0900 |
commit | 0b0b1513509d699ec6fb9086428444a95c3ffb7b (patch) | |
tree | 6cd8d9a466d9cc0a3d05a5da2178ed61456c9972 /include/linux | |
parent | 2a8fea69606baa3cb03e5cb79a9e67ccd58c2e53 (diff) | |
download | linux-3.10-0b0b1513509d699ec6fb9086428444a95c3ffb7b.tar.gz linux-3.10-0b0b1513509d699ec6fb9086428444a95c3ffb7b.tar.bz2 linux-3.10-0b0b1513509d699ec6fb9086428444a95c3ffb7b.zip |
power: charger-manager: Monitoring temperature becomes mandatory option.
Monitoring battery temperature becomes mandatory for charger manager working.
If there is no way to measure temperature, it stops probing and won't work.
And also it will use thermal susbsystem inteface only to make driver simple.
Change-Id: Idef5f8f29a104f5f51532c3321f6bebe887deb24
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/power/charger-manager.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/power/charger-manager.h b/include/linux/power/charger-manager.h index 8e111f3ba6f..e692674c163 100644 --- a/include/linux/power/charger-manager.h +++ b/include/linux/power/charger-manager.h @@ -234,9 +234,8 @@ struct charger_manager { struct power_supply *fuel_gauge; struct power_supply **charger_stat; -#ifdef CONFIG_THERMAL struct thermal_zone_device *tzd_batt; -#endif + bool charger_enabled; unsigned long fullbatt_vchk_jiffies_at; |