[ARM] 5506/1: davinci: DMA_32BIT_MASK --> DMA_BIT_MASK(32)
authorKevin Hilman <khilman@mvista.com>
Thu, 7 May 2009 13:25:48 +0000 (14:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 May 2009 13:44:47 +0000 (14:44 +0100)
As per commit 284901a90a9e0b812ca3f5f852cbbfb60d10249d, use
DMA_BIT_MASK(n)

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-davinci/board-dm644x-evm.c

index c039674..b2e7f9c 100644 (file)
@@ -211,7 +211,7 @@ static struct resource ide_resources[] = {
        },
 };
 
-static u64 ide_dma_mask = DMA_32BIT_MASK;
+static u64 ide_dma_mask = DMA_BIT_MASK(32);
 
 static struct platform_device ide_dev = {
        .name           = "palm_bk3710",
@@ -220,7 +220,7 @@ static struct platform_device ide_dev = {
        .num_resources  = ARRAY_SIZE(ide_resources),
        .dev = {
                .dma_mask               = &ide_dma_mask,
-               .coherent_dma_mask      = DMA_32BIT_MASK,
+               .coherent_dma_mask      = DMA_BIT_MASK(32),
        },
 };