mfd: ab8500: allow AB9540 based devices to use ABX500 pinctrl
authorLee Jones <lee.jones@linaro.org>
Wed, 16 Jan 2013 15:09:36 +0000 (15:09 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Feb 2013 13:25:34 +0000 (14:25 +0100)
The old AB8500 GPIO driver has been un-BROKEN and converted into a
multi-platform pinctrl driver. If any AB9540 based devices wish to
request any GPIO pins that it offers, they can after this patch.

Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mfd/ab8500-core.c

index 4cb716a0017820846c84355c37ace5b71de3f67c..e2a45abf726dbe1634ed915ec0672b91959866f7 100644 (file)
@@ -1114,7 +1114,8 @@ static struct mfd_cell ab8500_devs[] = {
 
 static struct mfd_cell ab9540_devs[] = {
        {
-               .name = "ab8500-gpio",
+               .name = "pinctrl-ab9540",
+               .of_compatible = "stericsson,ab9540-gpio",
        },
        {
                .name = "ab9540-usb",