]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/rt2x00/rt2x00pci.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / rt2x00 / rt2x00pci.c
index e616c20d4a782c4dd014927057342e779396548a..43fa0f849003f5811c752168d37f9d274ef76705 100644 (file)
@@ -288,7 +288,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
        if (pci_set_mwi(pci_dev))
                ERROR_PROBE("MWI not available.\n");
 
-       if (dma_set_mask(&pci_dev->dev, DMA_32BIT_MASK)) {
+       if (dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32))) {
                ERROR_PROBE("PCI DMA not supported.\n");
                retval = -EIO;
                goto exit_disable_device;