diff options
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
-rw-r--r-- | drivers/gpio/gpio-davinci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index ec58f4288649..845edffbcc3f 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c | |||
@@ -432,8 +432,7 @@ static struct irq_chip *davinci_gpio_get_irq_chip(unsigned int irq) | |||
432 | { | 432 | { |
433 | static struct irq_chip_type gpio_unbanked; | 433 | static struct irq_chip_type gpio_unbanked; |
434 | 434 | ||
435 | gpio_unbanked = *container_of(irq_get_chip(irq), | 435 | gpio_unbanked = *irq_data_get_chip_type(irq_get_irq_data(irq)); |
436 | struct irq_chip_type, chip); | ||
437 | 436 | ||
438 | return &gpio_unbanked.chip; | 437 | return &gpio_unbanked.chip; |
439 | }; | 438 | }; |