mfd: ab8500-core: Add of_compatible property for ab8500-codec
authorFabio Baltieri <fabio.baltieri@linaro.org>
Thu, 30 May 2013 13:27:45 +0000 (15:27 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Jun 2013 09:51:54 +0000 (10:51 +0100)
Add of_compatible string to the ab8500-codec cell to allow the driver to
grab handlers such as regulators from device-tree when available.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-core.c

index 02698da00b78e07aff79ddeb8b2957e9c058a9bf..ca6bd1c8bd3f7563a6b4a0fd060d11bcc4966383 100644 (file)
@@ -1135,6 +1135,7 @@ static struct mfd_cell ab8500_devs[] = {
        },
        {
                .name = "ab8500-codec",
+               .of_compatible = "stericsson,ab8500-codec",
        },
 };