mfd: act8945a: Add .of_compatible for act8945a-charger

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>
This commit is contained in:
Wenyou Yang 2016-08-25 15:19:49 +08:00 committed by Lee Jones
parent 75d8a2b041
commit 7235711aec

View File

@ -23,6 +23,7 @@ static const struct mfd_cell act8945a_devs[] = {
},
{
.name = "act8945a-charger",
.of_compatible = "active-semi,act8945a-charger",
},
};