diff options
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
-rw-r--r-- | drivers/gpio/gpio-davinci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 5c1564fcc24e..bdb29e51b417 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c | |||
@@ -258,7 +258,7 @@ static int davinci_gpio_probe(struct platform_device *pdev) | |||
258 | chips->chip.set = davinci_gpio_set; | 258 | chips->chip.set = davinci_gpio_set; |
259 | 259 | ||
260 | chips->chip.ngpio = ngpio; | 260 | chips->chip.ngpio = ngpio; |
261 | chips->chip.base = -1; | 261 | chips->chip.base = pdata->no_auto_base ? pdata->base : -1; |
262 | 262 | ||
263 | #ifdef CONFIG_OF_GPIO | 263 | #ifdef CONFIG_OF_GPIO |
264 | chips->chip.of_gpio_n_cells = 2; | 264 | chips->chip.of_gpio_n_cells = 2; |