]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/agnx/pci.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[linux-2.6-omap-h63xx.git] / drivers / staging / agnx / pci.c
index 4ff4c16014233b8e94fb32ed9c1de251ff91bfa6..25c0ffd2faa00bd73cf6642abeade61292f4d6e6 100644 (file)
@@ -477,8 +477,8 @@ static int __devinit agnx_pci_probe(struct pci_dev *pdev,
                return err;
        }
 
-       if (pci_set_dma_mask(pdev, DMA_32BIT_MASK) ||
-           pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) {
+       if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32)) ||
+           pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) {
                printk(KERN_ERR PFX "No suitable DMA available\n");
                goto err_free_reg;
        }