summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-08-25 10:19:49 +0300
committerLee Jones <lee.jones@linaro.org>2016-10-04 17:48:03 +0300
commit7235711aec8d9dd3c884e4761cb94c40f3849090 (patch)
treed7b0669912085a336f5924b65214606338d84254 /drivers/mfd
parent75d8a2b041f24ee5cb8b701c2cc62826b65dfb8c (diff)
downloadlinux-7235711aec8d9dd3c884e4761cb94c40f3849090.tar.xz
mfd: act8945a: Add .of_compatible for act8945a-charger
To regard the act8945a-charger as a sub-device, add .of_compatible for act8945a-charger cell. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/act8945a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/act8945a.c b/drivers/mfd/act8945a.c
index 10c6d2da8822..a4024d91da01 100644
--- a/drivers/mfd/act8945a.c
+++ b/drivers/mfd/act8945a.c
@@ -23,6 +23,7 @@ static const struct mfd_cell act8945a_devs[] = {
},
{
.name = "act8945a-charger",
+ .of_compatible = "active-semi,act8945a-charger",
},
};