serial.c (b4b9034132c7e1e4474999e688dd7d03b7d97a99) | serial.c (52e405eaa9806968e88b35d65e57acad954a5ab5) |
---|---|
1/* 2 * linux/arch/arm/mach-omap1/id.c 3 * 4 * OMAP1 CPU identification code 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 239 unchanged lines hidden (view full) --- 248 ret = omap_request_gpio(gpio_nr); 249 if (ret < 0) { 250 printk(KERN_ERR "Could not request UART wake GPIO: %i\n", 251 gpio_nr); 252 return; 253 } 254 omap_set_gpio_direction(gpio_nr, 1); 255 ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, | 1/* 2 * linux/arch/arm/mach-omap1/id.c 3 * 4 * OMAP1 CPU identification code 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 239 unchanged lines hidden (view full) --- 248 ret = omap_request_gpio(gpio_nr); 249 if (ret < 0) { 250 printk(KERN_ERR "Could not request UART wake GPIO: %i\n", 251 gpio_nr); 252 return; 253 } 254 omap_set_gpio_direction(gpio_nr, 1); 255 ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, |
256 SA_TRIGGER_RISING, "serial wakeup", NULL); | 256 IRQF_TRIGGER_RISING, "serial wakeup", NULL); |
257 if (ret) { 258 omap_free_gpio(gpio_nr); 259 printk(KERN_ERR "No interrupt for UART wake GPIO: %i\n", 260 gpio_nr); 261 return; 262 } 263 enable_irq_wake(OMAP_GPIO_IRQ(gpio_nr)); 264} --- 24 unchanged lines hidden --- | 257 if (ret) { 258 omap_free_gpio(gpio_nr); 259 printk(KERN_ERR "No interrupt for UART wake GPIO: %i\n", 260 gpio_nr); 261 return; 262 } 263 enable_irq_wake(OMAP_GPIO_IRQ(gpio_nr)); 264} --- 24 unchanged lines hidden --- |