[PATCH] irq-flags: misc drivers: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8076fe32a7
commit
dace145374
@ -1705,7 +1705,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag)
|
||||
printk(MYIOC_s_INFO_FMT "PCI-MSI enabled\n",
|
||||
ioc->name);
|
||||
rc = request_irq(ioc->pcidev->irq, mpt_interrupt,
|
||||
SA_SHIRQ, ioc->name, ioc);
|
||||
IRQF_SHARED, ioc->name, ioc);
|
||||
if (rc < 0) {
|
||||
printk(MYIOC_s_ERR_FMT "Unable to allocate "
|
||||
"interrupt %d!\n", ioc->name,
|
||||
|
@ -274,7 +274,7 @@ static int i2o_pci_irq_enable(struct i2o_controller *c)
|
||||
writel(0xffffffff, c->irq_mask);
|
||||
|
||||
if (pdev->irq) {
|
||||
rc = request_irq(pdev->irq, i2o_pci_interrupt, SA_SHIRQ,
|
||||
rc = request_irq(pdev->irq, i2o_pci_interrupt, IRQF_SHARED,
|
||||
c->name, c);
|
||||
if (rc < 0) {
|
||||
printk(KERN_ERR "%s: unable to allocate interrupt %d."
|
||||
|
Reference in New Issue
Block a user