From 41096801f9de9b86ddfdfabd195e604b1c1087fe Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Wed, 27 Nov 2013 15:16:17 +0100 Subject: [PATCH] mfd: max14577: Match regulator by of_compatible string Match max14577 regulator driver by of_compatible specified in mfd_cell. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Lee Jones --- drivers/mfd/max14577.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index 94b766d..1337c45 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c @@ -26,7 +26,10 @@ static struct mfd_cell max14577_devs[] = { { .name = "max14577-muic", }, - { .name = "max14577-regulator", }, + { + .name = "max14577-regulator", + .of_compatible = "maxim,max14577-regulator", + }, { .name = "max14577-charger", }, }; -- 2.7.4