summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-twl4030.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c
index b8b4f228757c..697396c74627 100644
--- a/drivers/gpio/gpio-twl4030.c
+++ b/drivers/gpio/gpio-twl4030.c
@@ -404,7 +404,8 @@ static int __devinit gpio_twl4030_probe(struct platform_device *pdev)
"can't dispatch IRQs from modules\n");
goto no_irqs;
}
- ret = twl4030_sih_setup(TWL4030_MODULE_GPIO);
+ ret = twl4030_sih_setup(&pdev->dev, TWL4030_MODULE_GPIO,
+ pdata->irq_base);
if (ret < 0)
return ret;
WARN_ON(ret != pdata->irq_base);