Replace deprecated SA_xxx interrupt flags
Fix the last users of the deprecated SA_xxx interrupt flags. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9730b5b06f
commit
2833bf68b9
@@ -42,7 +42,7 @@ static irqreturn_t sni_isa_irq_handler(int dummy, void *p)
|
|||||||
struct irqaction sni_isa_irq = {
|
struct irqaction sni_isa_irq = {
|
||||||
.handler = sni_isa_irq_handler,
|
.handler = sni_isa_irq_handler,
|
||||||
.name = "ISA",
|
.name = "ISA",
|
||||||
.flags = SA_SHIRQ
|
.flags = IRQF_SHARED
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -98,7 +98,7 @@ static int __init snirm710_probe(struct platform_device *dev)
|
|||||||
host->this_id = 7;
|
host->this_id = 7;
|
||||||
host->base = base;
|
host->base = base;
|
||||||
host->irq = platform_get_irq(dev, 0);
|
host->irq = platform_get_irq(dev, 0);
|
||||||
if(request_irq(host->irq, NCR_700_intr, SA_SHIRQ, "snirm710", host)) {
|
if(request_irq(host->irq, NCR_700_intr, IRQF_SHARED, "snirm710", host)) {
|
||||||
printk(KERN_ERR "snirm710: request_irq failed!\n");
|
printk(KERN_ERR "snirm710: request_irq failed!\n");
|
||||||
goto out_put_host;
|
goto out_put_host;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user