diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-01-28 07:18:28 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-19 04:58:03 -0400 |
commit | a0b0ea491ef59a5374640f59cdde6c53c027de53 (patch) | |
tree | e328a2a7cbc3e5180eba3d3b8708f2a7c1e4c4a1 /drivers/mfd/max14577.c | |
parent | ec2b26724f81d58008626228686f47ca3337e7ed (diff) |
mfd: max14577: Add of_compatible to extcon mfd_cell
Add of_compatible ("maxim,max14577-muic") to the mfd_cell for extcon
driver. If entry with such compatible is present in the DTS, the extcon
driver will have of_node set.
This may be useful for extcon consumers and it is documented in
bindings documentation.
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 71aa14a6bfbb..c9859d1baf14 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c | |||
@@ -25,7 +25,10 @@ | |||
25 | #include <linux/mfd/max14577-private.h> | 25 | #include <linux/mfd/max14577-private.h> |
26 | 26 | ||
27 | static struct mfd_cell max14577_devs[] = { | 27 | static struct mfd_cell max14577_devs[] = { |
28 | { .name = "max14577-muic", }, | 28 | { |
29 | .name = "max14577-muic", | ||
30 | .of_compatible = "maxim,max14577-muic", | ||
31 | }, | ||
29 | { | 32 | { |
30 | .name = "max14577-regulator", | 33 | .name = "max14577-regulator", |
31 | .of_compatible = "maxim,max14577-regulator", | 34 | .of_compatible = "maxim,max14577-regulator", |