diff options
Diffstat (limited to 'drivers/media/video/cx88')
-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 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c index ce98d955231a..0ccdf36626e3 100644 --- a/drivers/media/video/cx88/cx88-alsa.c +++ b/drivers/media/video/cx88/cx88-alsa.c | |||
@@ -745,7 +745,7 @@ static int __devinit snd_cx88_create(struct snd_card *card, | |||
745 | return err; | 745 | return err; |
746 | } | 746 | } |
747 | 747 | ||
748 | if (!pci_dma_supported(pci,DMA_32BIT_MASK)) { | 748 | if (!pci_dma_supported(pci,DMA_BIT_MASK(32))) { |
749 | dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name); | 749 | dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name); |
750 | err = -EIO; | 750 | err = -EIO; |
751 | cx88_core_put(core,pci); | 751 | cx88_core_put(core,pci); |
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index b295b76737e3..da4e3912cd37 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -455,7 +455,7 @@ static int cx8802_init_common(struct cx8802_dev *dev) | |||
455 | if (pci_enable_device(dev->pci)) | 455 | if (pci_enable_device(dev->pci)) |
456 | return -EIO; | 456 | return -EIO; |
457 | pci_set_master(dev->pci); | 457 | pci_set_master(dev->pci); |
458 | if (!pci_dma_supported(dev->pci,DMA_32BIT_MASK)) { | 458 | if (!pci_dma_supported(dev->pci,DMA_BIT_MASK(32))) { |
459 | printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name); | 459 | printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name); |
460 | return -EIO; | 460 | return -EIO; |
461 | } | 461 | } |
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index ec0425d9043a..b993d42fe73c 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1832,7 +1832,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | |||
1832 | dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0)); | 1832 | dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0)); |
1833 | 1833 | ||
1834 | pci_set_master(pci_dev); | 1834 | pci_set_master(pci_dev); |
1835 | if (!pci_dma_supported(pci_dev,DMA_32BIT_MASK)) { | 1835 | if (!pci_dma_supported(pci_dev,DMA_BIT_MASK(32))) { |
1836 | printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name); | 1836 | printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name); |
1837 | err = -EIO; | 1837 | err = -EIO; |
1838 | goto fail_core; | 1838 | goto fail_core; |