V4L/DVB (5377): Replace SA_* with IRQF_*
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 3 Mar 2007 11:28:54 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:12 +0000 (15:44 -0300)
SA_* interrupt flags are being phased out, update to newer flags.
Thanks to Maarten Maathuis for pointing this out to me.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c

index 8d38765..9a8dae8 100644 (file)
@@ -1162,7 +1162,7 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
 
        /* Register IRQ */
        retval = request_irq(itv->dev->irq, ivtv_irq_handler,
-                            SA_SHIRQ | SA_INTERRUPT, itv->name, (void *)itv);
+                            IRQF_SHARED | IRQF_DISABLED, itv->name, (void *)itv);
        if (retval) {
                IVTV_ERR("Failed to register irq %d\n", retval);
                goto free_streams;