summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-08-25 09:19:49 +0200
committerLee Jones <lee.jones@linaro.org>2016-10-04 16:48:03 +0200
commit7235711aec8d9dd3c884e4761cb94c40f3849090 (patch)
treed7b0669912085a336f5924b65214606338d84254
parentmfd: arizona: Add sensible return value to some error paths (diff)
downloadlinux-7235711aec8d9dd3c884e4761cb94c40f3849090.tar.xz
linux-7235711aec8d9dd3c884e4761cb94c40f3849090.zip
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>
-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",
},
};