diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-24 13:18:16 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 18:52:45 +0200 |
commit | 8e84c1480d2e7d98d487b567100717b9cc9dcfd7 (patch) | |
tree | 9ba61dfdf844f2836e37f50c17518a844b72ede3 /arch/mips/ar7 | |
parent | MIPS: AR7: Fix build failures when CONFIG_SERIAL_8250 is not enabled (diff) | |
download | linux-8e84c1480d2e7d98d487b567100717b9cc9dcfd7.tar.xz linux-8e84c1480d2e7d98d487b567100717b9cc9dcfd7.zip |
MIPS: AR7: Use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ar7')
-rw-r--r-- | arch/mips/ar7/platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c index 8ef8266e47f4..2ecab6155932 100644 --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c @@ -242,13 +242,13 @@ static struct platform_device physmap_flash = { .num_resources = 1, }; -static u64 cpmac_dma_mask = DMA_32BIT_MASK; +static u64 cpmac_dma_mask = DMA_BIT_MASK(32); static struct platform_device cpmac_low = { .id = 0, .name = "cpmac", .dev = { .dma_mask = &cpmac_dma_mask, - .coherent_dma_mask = DMA_32BIT_MASK, + .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &cpmac_low_data, }, .resource = cpmac_low_res, @@ -260,7 +260,7 @@ static struct platform_device cpmac_high = { .name = "cpmac", .dev = { .dma_mask = &cpmac_dma_mask, - .coherent_dma_mask = DMA_32BIT_MASK, + .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &cpmac_high_data, }, .resource = cpmac_high_res, |