[PATCH] mfd: tps65090: Add compatible string for charger subnode

From: Rhyland Klein
Date: Wed Apr 10 2013 - 13:14:43 EST


This patch adds the of_compatible value for the tps65090 charger
subnode used when loading the driver to find its properties
and of_node.

Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>
---
drivers/mfd/tps65090.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index 88846ae..fbd6ee6 100644
--- a/drivers/mfd/tps65090.c
+++ b/drivers/mfd/tps65090.c
@@ -72,6 +72,7 @@ static struct mfd_cell tps65090s[] = {
.name = "tps65090-charger",
.num_resources = ARRAY_SIZE(charger_resources),
.resources = &charger_resources[0],
+ .of_compatible = "ti,tps65090-charger",
},
};

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/