diff options
Diffstat (limited to 'arch/arm/mach-omap1/serial.c')
-rw-r--r-- | arch/arm/mach-omap1/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/serial.c b/arch/arm/mach-omap1/serial.c index 1a0bc47a67c..b63da3f70c3 100644 --- a/arch/arm/mach-omap1/serial.c +++ b/arch/arm/mach-omap1/serial.c | |||
@@ -251,7 +251,7 @@ static void __init omap_serial_set_port_wakeup(int gpio_nr) | |||
251 | return; | 251 | return; |
252 | } | 252 | } |
253 | gpio_direction_input(gpio_nr); | 253 | gpio_direction_input(gpio_nr); |
254 | ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, | 254 | ret = request_irq(gpio_to_irq(gpio_nr), &omap_serial_wake_interrupt, |
255 | IRQF_TRIGGER_RISING, "serial wakeup", NULL); | 255 | IRQF_TRIGGER_RISING, "serial wakeup", NULL); |
256 | if (ret) { | 256 | if (ret) { |
257 | omap_free_gpio(gpio_nr); | 257 | omap_free_gpio(gpio_nr); |
@@ -259,7 +259,7 @@ static void __init omap_serial_set_port_wakeup(int gpio_nr) | |||
259 | gpio_nr); | 259 | gpio_nr); |
260 | return; | 260 | return; |
261 | } | 261 | } |
262 | enable_irq_wake(OMAP_GPIO_IRQ(gpio_nr)); | 262 | enable_irq_wake(gpio_to_irq(gpio_nr)); |
263 | } | 263 | } |
264 | 264 | ||
265 | static int __init omap_serial_wakeup_init(void) | 265 | static int __init omap_serial_wakeup_init(void) |