From 7697160ad693b1dae7addf036bbe01946c1e8318 Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Thu, 1 Feb 2007 10:13:00 -0800 Subject: [PATCH] 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 --- arch/arm/plat-omap/gpio-switch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/gpio-switch.c b/arch/arm/plat-omap/gpio-switch.c index 3920f28..4f4ce29 100644 --- a/arch/arm/plat-omap/gpio-switch.c +++ b/arch/arm/plat-omap/gpio-switch.c @@ -305,7 +305,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); -- 1.4.4.2