summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps65090.c
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2013-04-10 19:14:55 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-11 00:16:29 +0200
commitb50cf35bf41f8aa451667d8ff01e13b9ab17dc86 (patch)
tree9f8593808429ea8b2a6b400b890378de3cecb35f /drivers/mfd/tps65090.c
parentmfd: db8500-prcmu: Support platform dependant device selection (diff)
downloadlinux-b50cf35bf41f8aa451667d8ff01e13b9ab17dc86.tar.xz
linux-b50cf35bf41f8aa451667d8ff01e13b9ab17dc86.zip
mfd: tps65090: Add compatible string for charger subnode
This patch adds the of_compatible value for the tps65090 charger subnode used when loading the driver to find its properties and of_node. Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/tps65090.c')
-rw-r--r--drivers/mfd/tps65090.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index 88846aeab74f..fbd6ee67b5a5 100644
--- a/drivers/mfd/tps65090.c
+++ b/drivers/mfd/tps65090.c
@@ -72,6 +72,7 @@ static struct mfd_cell tps65090s[] = {
.name = "tps65090-charger",
.num_resources = ARRAY_SIZE(charger_resources),
.resources = &charger_resources[0],
+ .of_compatible = "ti,tps65090-charger",
},
};