]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/sxg/sxg.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[linux-2.6-omap-h63xx.git] / drivers / staging / sxg / sxg.c
index a77e1eee56934984c684e33a4dacc7a4bd418849..891f6e334672d61ee867af2ff453c406ee5aba86 100644 (file)
@@ -937,13 +937,13 @@ static int sxg_entry_probe(struct pci_dev *pcidev,
        if (!(err = pci_set_dma_mask(pcidev, DMA_BIT_MASK(64)))) {
                DBG_ERROR("pci_set_dma_mask(DMA_BIT_MASK(64)) successful\n");
        } else {
-               if ((err = pci_set_dma_mask(pcidev, DMA_32BIT_MASK))) {
+               if ((err = pci_set_dma_mask(pcidev, DMA_BIT_MASK(32)))) {
                        DBG_ERROR
                            ("No usable DMA configuration, aborting  err[%x]\n",
                             err);
                        return err;
                }
-               DBG_ERROR("pci_set_dma_mask(DMA_32BIT_MASK) successful\n");
+               DBG_ERROR("pci_set_dma_mask(DMA_BIT_MASK(32)) successful\n");
        }
 
        DBG_ERROR("Call pci_request_regions\n");