]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
mfd: max77693: Add haptic of_compatible in mfd_cell
authorJaewon Kim <jaewon02.kim@samsung.com>
Wed, 17 Sep 2014 16:40:25 +0000 (01:40 +0900)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:40 +0000 (16:18 +0000)
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>
drivers/mfd/max77693.c

index 09bf664ac2e0bb4f5ecdb487258e530e30f7d76c..b57ae93b1cbafb8731f287cf36e65909499ca912 100644 (file)
@@ -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",