summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorsyed rafiuddin <srafiuddin@nvidia.com>2011-10-07 14:16:40 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:15 -0800
commit5dc7e80087f5176331f912584459c03427b15ccb (patch)
treeba2348479b39f1ad33a35419bab4f977bb12c1dc /include/linux/mfd
parent014d6c9847cd1530c4e449ae497cc0307357c0e9 (diff)
power: tps80031-battery: Exit driver if battery is not detected
Exit fuel-gauge driver if battery presence is not detected. bug 873965 Reviewed-on: http://git-master/r/61830 (cherry picked from commit 149469646e1e5e7ece787ef9546de60a97b46802) Change-Id: I00139f1a92822875fb1409a918c580b83d4789f0 Reviewed-on: http://git-master/r/64090 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rebb08c9d9cbe6a3bb2a3bcaf4cc89beceb55c480
Diffstat (limited to 'include/linux/mfd')
-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 731dd071c007..0be3424a6dd8 100644
--- a/include/linux/mfd/tps80031.h
+++ b/include/linux/mfd/tps80031.h
@@ -155,6 +155,7 @@ struct tps80031_platform_data {
struct tps80031_bg_platform_data {
int irq_base;
+ int battery_present;
};
/*