summaryrefslogtreecommitdiff
path: root/drivers/mfd/max77693.c
diff options
context:
space:
mode:
authorJaewon Kim <jaewon02.kim@samsung.com>2014-09-17 16:40:25 (GMT)
committerLee Jones <lee.jones@linaro.org>2014-11-25 16:18:40 (GMT)
commitd1bafd78fce5f07bfc9c2c8a77146f74528a469e (patch)
tree29d98307013841da56ad3061dffda09e170b96b6 /drivers/mfd/max77693.c
parentefbf49224acc8ba5ac4d7ac93b5035836aebf400 (diff)
downloadlinux-d1bafd78fce5f07bfc9c2c8a77146f74528a469e.tar.xz
mfd: max77693: Add haptic of_compatible in mfd_cell
This patch add haptic of_compatible in order to use the haptic device driver using Devicetree. Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max77693.c')
-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 09bf664..b57ae93 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -45,7 +45,10 @@ static const struct mfd_cell max77693_devs[] = {
{ .name = "max77693-pmic", },
{ .name = "max77693-charger", },
{ .name = "max77693-muic", },
- { .name = "max77693-haptic", },
+ {
+ .name = "max77693-haptic",
+ .of_compatible = "maxim,max77693-haptic",
+ },
{
.name = "max77693-flash",
.of_compatible = "maxim,max77693-flash",