From: Krzysztof Kozlowski Date: Tue, 28 Jan 2014 12:18:28 +0000 (+0100) Subject: mfd: max14577: Add of_compatible to extcon mfd_cell X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a0b0ea491ef59a5374640f59cdde6c53c027de53;p=deliverable%2Flinux.git 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 Signed-off-by: Lee Jones --- 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 @@ #include 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",