]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/ieee1394/pcilynx.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[net-next-2.6.git] / drivers / ieee1394 / pcilynx.c
index 38f71203620120dd36a5bd1fb33e41be0c059e02..9555fd2538658561526400f6202dd1d13a7c2bc7 100644 (file)
@@ -1171,7 +1171,7 @@ static int __devinit add_card(struct pci_dev *dev,
 
         error = -ENXIO;
 
-        if (pci_set_dma_mask(dev, DMA_32BIT_MASK))
+        if (pci_set_dma_mask(dev, DMA_BIT_MASK(32)))
                 FAIL("DMA address limits not supported for PCILynx hardware");
         if (pci_enable_device(dev))
                 FAIL("failed to enable PCILynx hardware");