[PATCH] ARM: fixup irqflags breakage after ARM genirq merge
The irgflags consolidation did conflict with the ARM to generic IRQ conversion and was not applied for ARM. Fix it up. Use the new IRQF_ constants and remove the SA_INTERRUPT define Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d061daa0e3
commit
52e405eaa9
@ -45,12 +45,12 @@ static void collie_charger_init(void)
|
||||
}
|
||||
|
||||
/* Register interrupt handler. */
|
||||
if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, SA_INTERRUPT,
|
||||
if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, IRQF_DISABLED,
|
||||
"ACIN", sharpsl_ac_isr))) {
|
||||
printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN);
|
||||
return;
|
||||
}
|
||||
if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, SA_INTERRUPT,
|
||||
if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, IRQF_DISABLED,
|
||||
"CO", sharpsl_chrg_full_isr))) {
|
||||
free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr);
|
||||
printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO);
|
||||
|
Reference in New Issue
Block a user