]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/aacraid/linit.c
dma-mapping: replace all DMA_31BIT_MASK macro with DMA_BIT_MASK(31)
[linux-2.6-omap-h63xx.git] / drivers / scsi / aacraid / linit.c
index 3c3ed4b3311a3e0dde1ca1b51229c99096a73452..9b97c3e016fe8233b0545ea8adab6bb45ff3985d 100644 (file)
@@ -1103,8 +1103,8 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
         * to driver communication memory to be allocated below 2gig
         */
        if (aac_drivers[index].quirks & AAC_QUIRK_31BIT)
-               if (pci_set_dma_mask(pdev, DMA_31BIT_MASK) ||
-                               pci_set_consistent_dma_mask(pdev, DMA_31BIT_MASK))
+               if (pci_set_dma_mask(pdev, DMA_BIT_MASK(31)) ||
+                               pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(31)))
                        goto out_disable_pdev;
 
        pci_set_master(pdev);