]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/alchemy/devboards/pb1200/platform.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[linux-2.6-omap-h63xx.git] / arch / mips / alchemy / devboards / pb1200 / platform.c
index 0d68e1985ffd15d2ca62b67280600fd4c088b150..b93dff4a6789ca4e5c054a42302e640b619e9f69 100644 (file)
@@ -119,14 +119,14 @@ static struct resource ide_resources[] = {
        }
 };
 
-static u64 ide_dmamask = DMA_32BIT_MASK;
+static u64 ide_dmamask = DMA_BIT_MASK(32);
 
 static struct platform_device ide_device = {
        .name           = "au1200-ide",
        .id             = 0,
        .dev = {
                .dma_mask               = &ide_dmamask,
-               .coherent_dma_mask      = DMA_32BIT_MASK,
+               .coherent_dma_mask      = DMA_BIT_MASK(32),
        },
        .num_resources  = ARRAY_SIZE(ide_resources),
        .resource       = ide_resources