[PATCH v8 01/11] mfd: act8945a: Add .of_compatible for act8945a-charger

Wenyou Yang wenyou.yang at atmel.com
Thu Aug 25 00:19:49 PDT 2016


To regard the act8945a-charger as a sub-device, add .of_compatible for
act8945a-charger cell.

Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
---

Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/mfd/act8945a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/act8945a.c b/drivers/mfd/act8945a.c
index 10c6d2d..a4024d9 100644
--- a/drivers/mfd/act8945a.c
+++ b/drivers/mfd/act8945a.c
@@ -23,6 +23,7 @@ static const struct mfd_cell act8945a_devs[] = {
 	},
 	{
 		.name = "act8945a-charger",
+		.of_compatible = "active-semi,act8945a-charger",
 	},
 };
 
-- 
2.7.4




More information about the linux-arm-kernel mailing list