mfd: act8945a: Add .of_compatible for act8945a-charger
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 25 Aug 2016 07:19:49 +0000 (15:19 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:03 +0000 (15:48 +0100)
To regard the act8945a-charger as a sub-device, add .of_compatible for
act8945a-charger cell.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/act8945a.c

index 10c6d2d..a4024d9 100644 (file)
@@ -23,6 +23,7 @@ static const struct mfd_cell act8945a_devs[] = {
        },
        {
                .name = "act8945a-charger",
+               .of_compatible = "active-semi,act8945a-charger",
        },
 };