Skip to content

Commit

Permalink
mfd: max14577: Add of_compatible to extcon mfd_cell
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Lee Jones committed Mar 19, 2014
1 parent ec2b267 commit a0b0ea4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/mfd/max14577.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
#include <linux/mfd/max14577-private.h>

static struct mfd_cell max14577_devs[] = {
{ .name = "max14577-muic", },
{
.name = "max14577-muic",
.of_compatible = "maxim,max14577-muic",
},
{
.name = "max14577-regulator",
.of_compatible = "maxim,max14577-regulator",
Expand Down

0 comments on commit a0b0ea4

Please sign in to comment.