diff options
-rw-r--r-- | drivers/gpio/langwell_gpio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c index bb10156422e3..6efc4e60aca7 100644 --- a/drivers/gpio/langwell_gpio.c +++ b/drivers/gpio/langwell_gpio.c | |||
@@ -276,12 +276,12 @@ static int __devinit lnw_gpio_probe(struct pci_dev *pdev, | |||
276 | dev_err(&pdev->dev, "langwell gpiochip_add error %d\n", retval); | 276 | dev_err(&pdev->dev, "langwell gpiochip_add error %d\n", retval); |
277 | goto err5; | 277 | goto err5; |
278 | } | 278 | } |
279 | set_irq_data(pdev->irq, lnw); | 279 | irq_set_handler_data(pdev->irq, lnw); |
280 | set_irq_chained_handler(pdev->irq, lnw_irq_handler); | 280 | irq_set_chained_handler(pdev->irq, lnw_irq_handler); |
281 | for (i = 0; i < lnw->chip.ngpio; i++) { | 281 | for (i = 0; i < lnw->chip.ngpio; i++) { |
282 | set_irq_chip_and_handler_name(i + lnw->irq_base, &lnw_irqchip, | 282 | irq_set_chip_and_handler_name(i + lnw->irq_base, &lnw_irqchip, |
283 | handle_simple_irq, "demux"); | 283 | handle_simple_irq, "demux"); |
284 | set_irq_chip_data(i + lnw->irq_base, lnw); | 284 | irq_set_chip_data(i + lnw->irq_base, lnw); |
285 | } | 285 | } |
286 | 286 | ||
287 | spin_lock_init(&lnw->lock); | 287 | spin_lock_init(&lnw->lock); |