lkml.org 
[lkml]   [2006]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC][patch 31/44] firewire: Use the new IRQF_ constansts

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/ieee1394/ohci1394.c | 4 ++--
drivers/ieee1394/pcilynx.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.git/drivers/ieee1394/ohci1394.c
===================================================================
--- linux-2.6.git.orig/drivers/ieee1394/ohci1394.c 2006-07-01 16:51:18.000000000 +0200
+++ linux-2.6.git/drivers/ieee1394/ohci1394.c 2006-07-01 16:51:41.000000000 +0200
@@ -3392,12 +3392,12 @@ static int __devinit ohci1394_pci_probe(
spin_lock_init(&ohci->event_lock);

/*
- * interrupts are disabled, all right, but... due to SA_SHIRQ we
+ * interrupts are disabled, all right, but... due to IRQF_SHARED we
* might get called anyway. We'll see no event, of course, but
* we need to get to that "no event", so enough should be initialized
* by that point.
*/
- if (request_irq(dev->irq, ohci_irq_handler, SA_SHIRQ,
+ if (request_irq(dev->irq, ohci_irq_handler, IRQF_SHARED,
OHCI1394_DRIVER_NAME, ohci))
FAIL(-ENOMEM, "Failed to allocate shared interrupt %d", dev->irq);

Index: linux-2.6.git/drivers/ieee1394/pcilynx.c
===================================================================
--- linux-2.6.git.orig/drivers/ieee1394/pcilynx.c 2006-07-01 16:51:18.000000000 +0200
+++ linux-2.6.git/drivers/ieee1394/pcilynx.c 2006-07-01 16:51:41.000000000 +0200
@@ -1253,7 +1253,7 @@ static int __devinit add_card(struct pci

sprintf (irq_buf, "%d", dev->irq);

- if (!request_irq(dev->irq, lynx_irq_handler, SA_SHIRQ,
+ if (!request_irq(dev->irq, lynx_irq_handler, IRQF_SHARED,
PCILYNX_DRIVER_NAME, lynx)) {
PRINT(KERN_INFO, lynx->id, "allocated interrupt %s", irq_buf);
lynx->state = have_intr;
--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-02 00:06    [W:0.144 / U:2.948 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site