summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMaciej Purski <m.purski@samsung.com>2017-09-05 15:50:27 +0200
committerLee Jones <lee.jones@linaro.org>2017-10-13 11:42:58 +0200
commit4589515af30005a404bd34e4b7933f98e68849f4 (patch)
tree4025d481fa8c60b81a8e3593880bcc96d311c68d /drivers
parentmfd: stw481x: Make three arrays static const, reduces object code size (diff)
downloadlinux-4589515af30005a404bd34e4b7933f98e68849f4.tar.xz
linux-4589515af30005a404bd34e4b7933f98e68849f4.zip
mfd: max77693: Add muic of_compatible in mfd_cell
This patch adds muic of_compatible in order to use the muic device driver in device tree. Signed-off-by: Maciej Purski <m.purski@samsung.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/max77693.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index 662ae0d9e334..1c05ea0cba61 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -48,7 +48,10 @@ static const struct mfd_cell max77693_devs[] = {
.name = "max77693-charger",
.of_compatible = "maxim,max77693-charger",
},
- { .name = "max77693-muic", },
+ {
+ .name = "max77693-muic",
+ .of_compatible = "maxim,max77693-muic",
+ },
{
.name = "max77693-haptic",
.of_compatible = "maxim,max77693-haptic",