]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
mfd: ab8500-core: Add of_compatilbe property for ab8500-usb
authorFabio Baltieri <fabio.baltieri@linaro.org>
Tue, 9 Apr 2013 08:57:21 +0000 (10:57 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 09:04:23 +0000 (11:04 +0200)
Add of_comptabile string to the ab8500-usb cell to allow the driver to
grab properties from device-tree when available.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c

index 36751f37dd5236dc9cd169b2ffb5f6c6272e12ce..8e8a016effe95251cca5692fed6c7b4442139630 100644 (file)
@@ -1108,6 +1108,7 @@ static struct mfd_cell ab8500_devs[] = {
        },
        {
                .name = "ab8500-usb",
+               .of_compatible = "stericsson,ab8500-usb",
                .num_resources = ARRAY_SIZE(ab8500_usb_resources),
                .resources = ab8500_usb_resources,
        },