Message ID | 1355501979-1157-14-git-send-email-lee.jones@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index ef75984..200c605 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c @@ -483,7 +483,7 @@ static int __devinit ab8500_gpio_probe(struct platform_device *pdev) ab8500_gpio->irq_base = pdata->irq_base; /* Configure GPIO Settings for specific AB devices */ - if (cpu_is_u9540()) { + if (is_ab9540(parent)) { ab8500_gpio->chip.ngpio = AB9540_NUM_GPIO; ab8500_gpio->irq_cluster = ab9540_irq_clusters; ab8500_gpio->irq_cluster_size =