mirror of https://gitee.com/openkylin/linux.git
[PATCH] irq-flags: PARISC: Use the new IRQF_ constants
Use the new IRQF_ constants and remove the SA_INTERRUPT define 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> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1fb9df5d30
commit
8c56e7214e
|
@ -340,7 +340,7 @@ static int __devinit eisa_probe(struct parisc_device *dev)
|
|||
}
|
||||
pcibios_register_hba(&eisa_dev.hba);
|
||||
|
||||
result = request_irq(dev->irq, eisa_irq, SA_SHIRQ, "EISA", &eisa_dev);
|
||||
result = request_irq(dev->irq, eisa_irq, IRQF_SHARED, "EISA", &eisa_dev);
|
||||
if (result) {
|
||||
printk(KERN_ERR "EISA: request_irq failed!\n");
|
||||
return result;
|
||||
|
|
|
@ -271,7 +271,7 @@ superio_init(struct pci_dev *pcidev)
|
|||
else
|
||||
printk(KERN_ERR PFX "USB regulator not initialized!\n");
|
||||
|
||||
if (request_irq(pdev->irq, superio_interrupt, SA_INTERRUPT,
|
||||
if (request_irq(pdev->irq, superio_interrupt, IRQF_DISABLED,
|
||||
SUPERIO, (void *)sio)) {
|
||||
|
||||
printk(KERN_ERR PFX "could not get irq\n");
|
||||
|
|
Loading…
Reference in New Issue