diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/saa7146_core.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-pci.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/bt8xx/bt878.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/pluto2/pluto2.c | 2 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-alsa.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-mpeg.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/meye.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-alsa.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-oss.c | 2 | ||||
-rw-r--r-- | drivers/media/video/stradis.c | 2 | ||||
-rw-r--r-- | drivers/media/video/zoran_card.c | 2 | ||||
-rw-r--r-- | drivers/media/video/zr36120.c | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c index 8cdd4d265ffa..b88451e33c09 100644 --- a/drivers/media/common/saa7146_core.c +++ b/drivers/media/common/saa7146_core.c | |||
@@ -363,7 +363,7 @@ static int saa7146_init_one(struct pci_dev *pci, const struct pci_device_id *ent | |||
363 | saa7146_write(dev, MC2, 0xf8000000); | 363 | saa7146_write(dev, MC2, 0xf8000000); |
364 | 364 | ||
365 | /* request an interrupt for the saa7146 */ | 365 | /* request an interrupt for the saa7146 */ |
366 | err = request_irq(pci->irq, interrupt_hw, SA_SHIRQ | SA_INTERRUPT, | 366 | err = request_irq(pci->irq, interrupt_hw, IRQF_SHARED | IRQF_DISABLED, |
367 | dev->name, dev); | 367 | dev->name, dev); |
368 | if (err < 0) { | 368 | if (err < 0) { |
369 | ERR(("request_irq() failed.\n")); | 369 | ERR(("request_irq() failed.\n")); |
diff --git a/drivers/media/dvb/b2c2/flexcop-pci.c b/drivers/media/dvb/b2c2/flexcop-pci.c index f04041702191..eb2e6432c8c2 100644 --- a/drivers/media/dvb/b2c2/flexcop-pci.c +++ b/drivers/media/dvb/b2c2/flexcop-pci.c | |||
@@ -294,7 +294,7 @@ static int flexcop_pci_init(struct flexcop_pci *fc_pci) | |||
294 | pci_set_drvdata(fc_pci->pdev, fc_pci); | 294 | pci_set_drvdata(fc_pci->pdev, fc_pci); |
295 | 295 | ||
296 | if ((ret = request_irq(fc_pci->pdev->irq, flexcop_pci_isr, | 296 | if ((ret = request_irq(fc_pci->pdev->irq, flexcop_pci_isr, |
297 | SA_SHIRQ, DRIVER_NAME, fc_pci)) != 0) | 297 | IRQF_SHARED, DRIVER_NAME, fc_pci)) != 0) |
298 | goto err_pci_iounmap; | 298 | goto err_pci_iounmap; |
299 | 299 | ||
300 | spin_lock_init(&fc_pci->irq_lock); | 300 | spin_lock_init(&fc_pci->irq_lock); |
diff --git a/drivers/media/dvb/bt8xx/bt878.c b/drivers/media/dvb/bt8xx/bt878.c index 761fa6e7d762..755822ee6e9b 100644 --- a/drivers/media/dvb/bt8xx/bt878.c +++ b/drivers/media/dvb/bt8xx/bt878.c | |||
@@ -488,7 +488,7 @@ static int __devinit bt878_probe(struct pci_dev *dev, | |||
488 | btwrite(0, BT848_INT_MASK); | 488 | btwrite(0, BT848_INT_MASK); |
489 | 489 | ||
490 | result = request_irq(bt->irq, bt878_irq, | 490 | result = request_irq(bt->irq, bt878_irq, |
491 | SA_SHIRQ | SA_INTERRUPT, "bt878", | 491 | IRQF_SHARED | IRQF_DISABLED, "bt878", |
492 | (void *) bt); | 492 | (void *) bt); |
493 | if (result == -EINVAL) { | 493 | if (result == -EINVAL) { |
494 | printk(KERN_ERR "bt878(%d): Bad irq number or handler\n", | 494 | printk(KERN_ERR "bt878(%d): Bad irq number or handler\n", |
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index acabea0793b6..2310b2bfed4e 100644 --- a/drivers/media/dvb/pluto2/pluto2.c +++ b/drivers/media/dvb/pluto2/pluto2.c | |||
@@ -616,7 +616,7 @@ static int __devinit pluto2_probe(struct pci_dev *pdev, | |||
616 | 616 | ||
617 | pci_set_drvdata(pdev, pluto); | 617 | pci_set_drvdata(pdev, pluto); |
618 | 618 | ||
619 | ret = request_irq(pdev->irq, pluto_irq, SA_SHIRQ, DRIVER_NAME, pluto); | 619 | ret = request_irq(pdev->irq, pluto_irq, IRQF_SHARED, DRIVER_NAME, pluto); |
620 | if (ret < 0) | 620 | if (ret < 0) |
621 | goto err_pci_iounmap; | 621 | goto err_pci_iounmap; |
622 | 622 | ||
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index aa3203ae670c..5764a89d3562 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -4050,7 +4050,7 @@ static int __devinit bttv_probe(struct pci_dev *dev, | |||
4050 | /* disable irqs, register irq handler */ | 4050 | /* disable irqs, register irq handler */ |
4051 | btwrite(0, BT848_INT_MASK); | 4051 | btwrite(0, BT848_INT_MASK); |
4052 | result = request_irq(btv->c.pci->irq, bttv_irq, | 4052 | result = request_irq(btv->c.pci->irq, bttv_irq, |
4053 | SA_SHIRQ | SA_INTERRUPT,btv->c.name,(void *)btv); | 4053 | IRQF_SHARED | IRQF_DISABLED,btv->c.name,(void *)btv); |
4054 | if (result < 0) { | 4054 | if (result < 0) { |
4055 | printk(KERN_ERR "bttv%d: can't get IRQ %d\n", | 4055 | printk(KERN_ERR "bttv%d: can't get IRQ %d\n", |
4056 | bttv_num,btv->c.pci->irq); | 4056 | bttv_num,btv->c.pci->irq); |
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c index 292a5e81eb75..f0340662e078 100644 --- a/drivers/media/video/cx88/cx88-alsa.c +++ b/drivers/media/video/cx88/cx88-alsa.c | |||
@@ -700,7 +700,7 @@ static int __devinit snd_cx88_create(struct snd_card *card, | |||
700 | 700 | ||
701 | /* get irq */ | 701 | /* get irq */ |
702 | err = request_irq(chip->pci->irq, cx8801_irq, | 702 | err = request_irq(chip->pci->irq, cx8801_irq, |
703 | SA_SHIRQ | SA_INTERRUPT, chip->core->name, chip); | 703 | IRQF_SHARED | IRQF_DISABLED, chip->core->name, chip); |
704 | if (err < 0) { | 704 | if (err < 0) { |
705 | dprintk(0, "%s: can't get IRQ %d\n", | 705 | dprintk(0, "%s: can't get IRQ %d\n", |
706 | chip->core->name, chip->pci->irq); | 706 | chip->core->name, chip->pci->irq); |
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index 2c12aca1b6a3..138a4f692501 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -438,7 +438,7 @@ int cx8802_init_common(struct cx8802_dev *dev) | |||
438 | 438 | ||
439 | /* get irq */ | 439 | /* get irq */ |
440 | err = request_irq(dev->pci->irq, cx8802_irq, | 440 | err = request_irq(dev->pci->irq, cx8802_irq, |
441 | SA_SHIRQ | SA_INTERRUPT, dev->core->name, dev); | 441 | IRQF_SHARED | IRQF_DISABLED, dev->core->name, dev); |
442 | if (err < 0) { | 442 | if (err < 0) { |
443 | printk(KERN_ERR "%s: can't get IRQ %d\n", | 443 | printk(KERN_ERR "%s: can't get IRQ %d\n", |
444 | dev->core->name, dev->pci->irq); | 444 | dev->core->name, dev->pci->irq); |
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index c538d99ec9f6..2225d4b94140 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1915,7 +1915,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | |||
1915 | 1915 | ||
1916 | /* get irq */ | 1916 | /* get irq */ |
1917 | err = request_irq(pci_dev->irq, cx8800_irq, | 1917 | err = request_irq(pci_dev->irq, cx8800_irq, |
1918 | SA_SHIRQ | SA_INTERRUPT, core->name, dev); | 1918 | IRQF_SHARED | IRQF_DISABLED, core->name, dev); |
1919 | if (err < 0) { | 1919 | if (err < 0) { |
1920 | printk(KERN_ERR "%s: can't get IRQ %d\n", | 1920 | printk(KERN_ERR "%s: can't get IRQ %d\n", |
1921 | core->name,pci_dev->irq); | 1921 | core->name,pci_dev->irq); |
diff --git a/drivers/media/video/meye.c b/drivers/media/video/meye.c index ddd62214bee5..e278753f8f25 100644 --- a/drivers/media/video/meye.c +++ b/drivers/media/video/meye.c | |||
@@ -1881,7 +1881,7 @@ static int __devinit meye_probe(struct pci_dev *pcidev, | |||
1881 | 1881 | ||
1882 | meye.mchip_irq = pcidev->irq; | 1882 | meye.mchip_irq = pcidev->irq; |
1883 | if (request_irq(meye.mchip_irq, meye_irq, | 1883 | if (request_irq(meye.mchip_irq, meye_irq, |
1884 | SA_INTERRUPT | SA_SHIRQ, "meye", meye_irq)) { | 1884 | IRQF_DISABLED | IRQF_SHARED, "meye", meye_irq)) { |
1885 | printk(KERN_ERR "meye: request_irq failed\n"); | 1885 | printk(KERN_ERR "meye: request_irq failed\n"); |
1886 | goto outreqirq; | 1886 | goto outreqirq; |
1887 | } | 1887 | } |
diff --git a/drivers/media/video/saa7134/saa7134-alsa.c b/drivers/media/video/saa7134/saa7134-alsa.c index d77e6a8d9432..f1fd69e7f119 100644 --- a/drivers/media/video/saa7134/saa7134-alsa.c +++ b/drivers/media/video/saa7134/saa7134-alsa.c | |||
@@ -929,7 +929,7 @@ static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum) | |||
929 | 929 | ||
930 | 930 | ||
931 | err = request_irq(dev->pci->irq, saa7134_alsa_irq, | 931 | err = request_irq(dev->pci->irq, saa7134_alsa_irq, |
932 | SA_SHIRQ | SA_INTERRUPT, dev->name, | 932 | IRQF_SHARED | IRQF_DISABLED, dev->name, |
933 | (void*) &dev->dmasound); | 933 | (void*) &dev->dmasound); |
934 | 934 | ||
935 | if (err < 0) { | 935 | if (err < 0) { |
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 535172f643b9..6e97cc84ba89 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -923,7 +923,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
923 | 923 | ||
924 | /* get irq */ | 924 | /* get irq */ |
925 | err = request_irq(pci_dev->irq, saa7134_irq, | 925 | err = request_irq(pci_dev->irq, saa7134_irq, |
926 | SA_SHIRQ | SA_INTERRUPT, dev->name, dev); | 926 | IRQF_SHARED | IRQF_DISABLED, dev->name, dev); |
927 | if (err < 0) { | 927 | if (err < 0) { |
928 | printk(KERN_ERR "%s: can't get IRQ %d\n", | 928 | printk(KERN_ERR "%s: can't get IRQ %d\n", |
929 | dev->name,pci_dev->irq); | 929 | dev->name,pci_dev->irq); |
diff --git a/drivers/media/video/saa7134/saa7134-oss.c b/drivers/media/video/saa7134/saa7134-oss.c index 7aa02b34e012..3895d05804ae 100644 --- a/drivers/media/video/saa7134/saa7134-oss.c +++ b/drivers/media/video/saa7134/saa7134-oss.c | |||
@@ -845,7 +845,7 @@ int saa7134_oss_init1(struct saa7134_dev *dev) | |||
845 | { | 845 | { |
846 | 846 | ||
847 | if ((request_irq(dev->pci->irq, saa7134_oss_irq, | 847 | if ((request_irq(dev->pci->irq, saa7134_oss_irq, |
848 | SA_SHIRQ | SA_INTERRUPT, dev->name, | 848 | IRQF_SHARED | IRQF_DISABLED, dev->name, |
849 | (void*) &dev->dmasound)) < 0) | 849 | (void*) &dev->dmasound)) < 0) |
850 | return -1; | 850 | return -1; |
851 | 851 | ||
diff --git a/drivers/media/video/stradis.c b/drivers/media/video/stradis.c index c18b31d9928c..b36ba9fa3a28 100644 --- a/drivers/media/video/stradis.c +++ b/drivers/media/video/stradis.c | |||
@@ -1983,7 +1983,7 @@ static int __devinit configure_saa7146(struct pci_dev *pdev, int num) | |||
1983 | memcpy(&saa->video_dev, &saa_template, sizeof(saa_template)); | 1983 | memcpy(&saa->video_dev, &saa_template, sizeof(saa_template)); |
1984 | saawrite(0, SAA7146_IER); /* turn off all interrupts */ | 1984 | saawrite(0, SAA7146_IER); /* turn off all interrupts */ |
1985 | 1985 | ||
1986 | retval = request_irq(saa->irq, saa7146_irq, SA_SHIRQ | SA_INTERRUPT, | 1986 | retval = request_irq(saa->irq, saa7146_irq, IRQF_SHARED | IRQF_DISABLED, |
1987 | "stradis", saa); | 1987 | "stradis", saa); |
1988 | if (retval == -EINVAL) | 1988 | if (retval == -EINVAL) |
1989 | dev_err(&pdev->dev, "%d: Bad irq number or handler\n", num); | 1989 | dev_err(&pdev->dev, "%d: Bad irq number or handler\n", num); |
diff --git a/drivers/media/video/zoran_card.c b/drivers/media/video/zoran_card.c index 33b32f3cf84e..f2249ed25273 100644 --- a/drivers/media/video/zoran_card.c +++ b/drivers/media/video/zoran_card.c | |||
@@ -1380,7 +1380,7 @@ find_zr36057 (void) | |||
1380 | 1380 | ||
1381 | result = request_irq(zr->pci_dev->irq, | 1381 | result = request_irq(zr->pci_dev->irq, |
1382 | zoran_irq, | 1382 | zoran_irq, |
1383 | SA_SHIRQ | SA_INTERRUPT, | 1383 | IRQF_SHARED | IRQF_DISABLED, |
1384 | ZR_DEVNAME(zr), | 1384 | ZR_DEVNAME(zr), |
1385 | (void *) zr); | 1385 | (void *) zr); |
1386 | if (result < 0) { | 1386 | if (result < 0) { |
diff --git a/drivers/media/video/zr36120.c b/drivers/media/video/zr36120.c index 6ac3b6740089..50437383ed62 100644 --- a/drivers/media/video/zr36120.c +++ b/drivers/media/video/zr36120.c | |||
@@ -1858,7 +1858,7 @@ int __init find_zoran(void) | |||
1858 | DEBUG(printk(KERN_DEBUG "zoran: mapped-memory at 0x%p\n",ztv->zoran_mem)); | 1858 | DEBUG(printk(KERN_DEBUG "zoran: mapped-memory at 0x%p\n",ztv->zoran_mem)); |
1859 | 1859 | ||
1860 | result = request_irq(dev->irq, zoran_irq, | 1860 | result = request_irq(dev->irq, zoran_irq, |
1861 | SA_SHIRQ|SA_INTERRUPT,"zoran", ztv); | 1861 | IRQF_SHARED|IRQF_DISABLED,"zoran", ztv); |
1862 | if (result==-EINVAL) | 1862 | if (result==-EINVAL) |
1863 | { | 1863 | { |
1864 | iounmap(ztv->zoran_mem); | 1864 | iounmap(ztv->zoran_mem); |