Browse Source

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>
Jaewon Kim 11 years ago
parent
commit
d1bafd78fc
1 changed files with 4 additions and 1 deletions
  1. 4 1
      drivers/mfd/max77693.c

+ 4 - 1
drivers/mfd/max77693.c

@@ -45,7 +45,10 @@ static const struct mfd_cell max77693_devs[] = {
 	{ .name = "max77693-pmic", },
 	{ .name = "max77693-pmic", },
 	{ .name = "max77693-charger", },
 	{ .name = "max77693-charger", },
 	{ .name = "max77693-muic", },
 	{ .name = "max77693-muic", },
-	{ .name = "max77693-haptic", },
+	{
+		.name = "max77693-haptic",
+		.of_compatible = "maxim,max77693-haptic",
+	},
 	{
 	{
 		.name = "max77693-flash",
 		.name = "max77693-flash",
 		.of_compatible = "maxim,max77693-flash",
 		.of_compatible = "maxim,max77693-flash",