summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewon Kim <jaewon02.kim@samsung.com>2014-09-17 18:40:25 +0200
committerLee Jones <lee.jones@linaro.org>2014-11-25 17:18:40 +0100
commitd1bafd78fce5f07bfc9c2c8a77146f74528a469e (patch)
tree29d98307013841da56ad3061dffda09e170b96b6
parentmfd: max77693: Initialize haptic register map (diff)
downloadlinux-d1bafd78fce5f07bfc9c2c8a77146f74528a469e.tar.xz
linux-d1bafd78fce5f07bfc9c2c8a77146f74528a469e.zip
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>
-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 09bf664ac2e0..b57ae93b1cba 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",