|
@@ -252,9 +252,9 @@ static int tegra_gpio_irq_set_type(struct irq_data *d, unsigned int type)
|
|
|
tegra_gpio_enable(gpio);
|
|
|
|
|
|
if (type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
|
|
|
- __irq_set_handler_locked(d->irq, handle_level_irq);
|
|
|
+ irq_set_handler_locked(d, handle_level_irq);
|
|
|
else if (type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING))
|
|
|
- __irq_set_handler_locked(d->irq, handle_edge_irq);
|
|
|
+ irq_set_handler_locked(d, handle_edge_irq);
|
|
|
|
|
|
return 0;
|
|
|
}
|