[PATCH] irq-flags: scsi: 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> Cc: James Bottomley <James.Bottomley@steeleye.com> 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
5d8c8a2e8e
commit
1d6f359a2e
@@ -1623,7 +1623,7 @@ static int nsp_cs_probe(struct pcmcia_device *link)
|
||||
/* Interrupt handler */
|
||||
link->irq.Handler = &nspintr;
|
||||
link->irq.Instance = info;
|
||||
link->irq.Attributes |= (SA_SHIRQ | SA_SAMPLE_RANDOM);
|
||||
link->irq.Attributes |= (IRQF_SHARED | IRQF_SAMPLE_RANDOM);
|
||||
|
||||
/* General socket configuration */
|
||||
link->conf.Attributes = CONF_ENABLE_IRQ;
|
||||
|
||||
@@ -799,7 +799,7 @@ next_entry:
|
||||
data = (struct sym53c500_data *)host->hostdata;
|
||||
|
||||
if (irq_level > 0) {
|
||||
if (request_irq(irq_level, SYM53C500_intr, SA_SHIRQ, "SYM53C500", host)) {
|
||||
if (request_irq(irq_level, SYM53C500_intr, IRQF_SHARED, "SYM53C500", host)) {
|
||||
printk("SYM53C500: unable to allocate IRQ %d\n", irq_level);
|
||||
goto err_free_scsi;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user