aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms/s6105/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/platforms/s6105/device.c')
-rw-r--r--arch/xtensa/platforms/s6105/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
index 65333ff..4f4fc97 100644
--- a/arch/xtensa/platforms/s6105/device.c
+++ b/arch/xtensa/platforms/s6105/device.c
@@ -120,7 +120,7 @@ static int __init prepare_phy_irq(int pin)
irq = gpio_to_irq(pin);
if (irq < 0)
goto free;
- if (set_irq_type(irq, IRQ_TYPE_LEVEL_LOW) < 0)
+ if (irq_set_irq_type(irq, IRQ_TYPE_LEVEL_LOW) < 0)
goto free;
return irq;
free: