Browse Source

V4L/DVB (5377): Replace SA_* with IRQF_*

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>
Hans Verkuil 18 years ago
parent
commit
a51a50bd01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/ivtv/ivtv-driver.c

+ 1 - 1
drivers/media/video/ivtv/ivtv-driver.c

@@ -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;