summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsyed rafiuddin <srafiuddin@nvidia.com>2011-10-07 14:16:40 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-10-10 08:57:59 -0700
commit0adbe7449cf2a8a4752077824649a113e967bf90 (patch)
treec2d4b132e8cee0af0b0056c52cdc1ff0139c68a5 /include
parent7ed6615501bf406e0fca79e559e60e896b07bea2 (diff)
power: tps80031-battery: Exit driver if battery is not detected
Exit fuel-gauge driver if battery presence is not detected. bug 873965 Change-Id: Iac5ee895d22c613c90299136fb3b5cbbc195caec Reviewed-on: http://git-master/r/54789 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/tps80031.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h
index 9f9af00761e4..4c43c33def34 100644
--- a/include/linux/mfd/tps80031.h
+++ b/include/linux/mfd/tps80031.h
@@ -140,6 +140,7 @@ struct tps80031_platform_data {
struct tps80031_bg_platform_data {
int irq_base;
+ int battery_present;
};
/*