diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2013-11-27 09:16:17 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 03:13:37 -0500 |
commit | 41096801f9de9b86ddfdfabd195e604b1c1087fe (patch) | |
tree | 4654273d643a2d72ff5ec0094f5ebd8f48042b26 /drivers/mfd/max14577.c | |
parent | 3008ddbe061b0f1d5c8ffbb599f105b67cf06637 (diff) |
mfd: max14577: Match regulator by of_compatible string
Match max14577 regulator driver by of_compatible specified in mfd_cell.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max14577.c')
-rw-r--r-- | drivers/mfd/max14577.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index 94b766d8cb15..1337c4527028 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c | |||
@@ -26,7 +26,10 @@ | |||
26 | 26 | ||
27 | static struct mfd_cell max14577_devs[] = { | 27 | static struct mfd_cell max14577_devs[] = { |
28 | { .name = "max14577-muic", }, | 28 | { .name = "max14577-muic", }, |
29 | { .name = "max14577-regulator", }, | 29 | { |
30 | .name = "max14577-regulator", | ||
31 | .of_compatible = "maxim,max14577-regulator", | ||
32 | }, | ||
30 | { .name = "max14577-charger", }, | 33 | { .name = "max14577-charger", }, |
31 | }; | 34 | }; |
32 | 35 | ||