diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-tc3589x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c index c0595bbf3268..d34d80dfb083 100644 --- a/drivers/gpio/gpio-tc3589x.c +++ b/drivers/gpio/gpio-tc3589x.c | |||
@@ -282,9 +282,9 @@ static void tc3589x_gpio_irq_unmap(struct irq_domain *d, unsigned int virq) | |||
282 | } | 282 | } |
283 | 283 | ||
284 | static struct irq_domain_ops tc3589x_irq_ops = { | 284 | static struct irq_domain_ops tc3589x_irq_ops = { |
285 | .map = tc3589x_gpio_irq_map, | 285 | .map = tc3589x_gpio_irq_map, |
286 | .unmap = tc3589x_gpio_irq_unmap, | 286 | .unmap = tc3589x_gpio_irq_unmap, |
287 | .xlate = irq_domain_xlate_twocell, | 287 | .xlate = irq_domain_xlate_twocell, |
288 | }; | 288 | }; |
289 | 289 | ||
290 | static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio, | 290 | static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio, |
@@ -344,7 +344,7 @@ static int tc3589x_gpio_probe(struct platform_device *pdev) | |||
344 | tc3589x_gpio->chip.base = (pdata) ? pdata->gpio_base : -1; | 344 | tc3589x_gpio->chip.base = (pdata) ? pdata->gpio_base : -1; |
345 | 345 | ||
346 | #ifdef CONFIG_OF_GPIO | 346 | #ifdef CONFIG_OF_GPIO |
347 | tc3589x_gpio->chip.of_node = np; | 347 | tc3589x_gpio->chip.of_node = np; |
348 | #endif | 348 | #endif |
349 | 349 | ||
350 | tc3589x_gpio->irq_base = tc3589x->irq_base ? | 350 | tc3589x_gpio->irq_base = tc3589x->irq_base ? |