Browse Source

mfd: ab8500: allow AB9540 based devices to use ABX500 pinctrl

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>
Lee Jones 12 years ago
parent
commit
e64d905e28
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/mfd/ab8500-core.c

+ 2 - 1
drivers/mfd/ab8500-core.c

@@ -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",