Browse Source

gpio: arizona: Add wm8997 support to probe

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Charles Keepax 12 years ago
parent
commit
d9cadcc92a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpio/gpio-arizona.c

+ 1 - 0
drivers/gpio/gpio-arizona.c

@@ -113,6 +113,7 @@ static int arizona_gpio_probe(struct platform_device *pdev)
 	switch (arizona->type) {
 	case WM5102:
 	case WM5110:
+	case WM8997:
 		arizona_gpio->gpio_chip.ngpio = 5;
 		break;
 	default: