aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>2012-11-18 22:16:58 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-18 22:37:14 -0500
commitbd9e8ab2d58d2183aa723bf0eb8e07d4362b4975 (patch)
treeed60bb0d0582b425cbfea321f80a115a6dc10b36 /drivers/mfd/ab8500-core.c
parente0f1abeba5c2d8a2183566717d99294fd1a29c2e (diff)
ab8500: Add devicetree support for btemp
This patch adds device tree support for battery-temperature-monitor driver Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 7c3017ba73e4..94d45be5c1b4 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -1046,8 +1046,13 @@ static struct mfd_cell __devinitdata ab8500_bm_devs[] = {
1046 }, 1046 },
1047 { 1047 {
1048 .name = "ab8500-btemp", 1048 .name = "ab8500-btemp",
1049 .of_compatible = "stericsson,ab8500-btemp",
1049 .num_resources = ARRAY_SIZE(ab8500_btemp_resources), 1050 .num_resources = ARRAY_SIZE(ab8500_btemp_resources),
1050 .resources = ab8500_btemp_resources, 1051 .resources = ab8500_btemp_resources,
1052#ifndef CONFIG_OF
1053 .platform_data = &ab8500_bm_data,
1054 .pdata_size = sizeof(ab8500_bm_data),
1055#endif
1051 }, 1056 },
1052 { 1057 {
1053 .name = "ab8500-fg", 1058 .name = "ab8500-fg",