summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-01 16:44:29 +0530
committerLokesh Pathak <lpathak@nvidia.com>2012-08-07 08:45:26 -0700
commit0a93f5c4bb384c3a0fd71b5bc3d231f834554dfd (patch)
treedd6ffec138467c613c441a279f6672b4df017ae3 /include
parent65f9c0c5286dcccd3ed38d479215414c9cf00f1f (diff)
power: tps80031: battery-charger: register as mfd sub device
Register battery charger driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: I8cff39f5c9b22434f7c5b9d4ed9f3865ff4c0001 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121135 Reviewed-by: Bitan Biswas <bbiswas@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 d3371a750b64..573c8a5ee38c 100644
--- a/include/linux/mfd/tps80031.h
+++ b/include/linux/mfd/tps80031.h
@@ -206,6 +206,7 @@ struct tps80031_platform_data {
int num_regulator_pdata;
struct tps80031_rtc_platform_data *rtc_pdata;
struct tps80031_bg_platform_data *bg_pdata;
+ struct tps80031_charger_platform_data *battery_charger_pdata;
};