mfd: tps65090: Add compatible string for charger subnode
authorRhyland Klein <rklein@nvidia.com>
Wed, 10 Apr 2013 17:14:55 +0000 (13:14 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Apr 2013 22:16:29 +0000 (00:16 +0200)
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@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65090.c

index 88846ae..fbd6ee6 100644 (file)
@@ -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",
        },
 };