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>
This commit is contained in:
Charles Keepax 2013-09-11 14:03:27 +01:00 committed by Linus Walleij
parent 757651e3d6
commit d9cadcc92a
1 changed files with 1 additions and 0 deletions

View File

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