From: Arnaud Patard Date: Thu, 1 Feb 2007 18:13:00 +0000 (-0800) Subject: ARM: OMAP: gpio-switch.c: use right flags for interrupts X-Git-Tag: v2.6.21-omap1~133 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=06faae40388c3eebff0c0c6c5983d7c835e2d008;p=linux-2.6-omap-h63xx.git ARM: OMAP: gpio-switch.c: use right flags for interrupts The recent switch from SA_ to IRQF_ constants for interrupt flags introduced a typo in the gpio_switch driver (IRQF_SHIRQ doesn't exist but IRQF_SHARED does). Signed-off-by: Arnaud Patard Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/gpio-switch.c b/arch/arm/plat-omap/gpio-switch.c index ddc26d6ea50..cd96c00ff4a 100644 --- a/arch/arm/plat-omap/gpio-switch.c +++ b/arch/arm/plat-omap/gpio-switch.c @@ -310,7 +310,7 @@ static int __init new_switch(struct gpio_switch *sw) trigger = IRQF_TRIGGER_RISING; } r = request_irq(OMAP_GPIO_IRQ(sw->gpio), gpio_sw_irq_handler, - IRQF_SHIRQ | trigger, sw->name, sw); + IRQF_SHARED | trigger, sw->name, sw); if (r < 0) { printk(KERN_ERR "gpio-switch: request_irq() failed " "for GPIO %d\n", sw->gpio);