]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/pci/cx88/cx88-mpeg.c
cx88: use pci_set_dma_mask insted of pci_dma_supported
[karo-tx-linux.git] / drivers / media / pci / cx88 / cx88-mpeg.c
index 9961b2232b97fd42eaef0e2fffa16de06cad99d1..9db7767d1fe03eaad3244993d193f1045cb5f92b 100644 (file)
@@ -393,7 +393,7 @@ static int cx8802_init_common(struct cx8802_dev *dev)
        if (pci_enable_device(dev->pci))
                return -EIO;
        pci_set_master(dev->pci);
-       if (!pci_dma_supported(dev->pci,DMA_BIT_MASK(32))) {
+       if (!pci_set_dma_mask(dev->pci,DMA_BIT_MASK(32))) {
                printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name);
                return -EIO;
        }