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 <arnaud.patard@rtp-net.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
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);