aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ar7
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ar7')
-rw-r--r--arch/mips/ar7/platform.c6
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 = {
242 .num_resources = 1, 242 .num_resources = 1,
243}; 243};
244 244
245static u64 cpmac_dma_mask = DMA_32BIT_MASK; 245static u64 cpmac_dma_mask = DMA_BIT_MASK(32);
246static struct platform_device cpmac_low = { 246static struct platform_device cpmac_low = {
247 .id = 0, 247 .id = 0,
248 .name = "cpmac", 248 .name = "cpmac",
249 .dev = { 249 .dev = {
250 .dma_mask = &cpmac_dma_mask, 250 .dma_mask = &cpmac_dma_mask,
251 .coherent_dma_mask = DMA_32BIT_MASK, 251 .coherent_dma_mask = DMA_BIT_MASK(32),
252 .platform_data = &cpmac_low_data, 252 .platform_data = &cpmac_low_data,
253 }, 253 },
254 .resource = cpmac_low_res, 254 .resource = cpmac_low_res,
@@ -260,7 +260,7 @@ static struct platform_device cpmac_high = {
260 .name = "cpmac", 260 .name = "cpmac",
261 .dev = { 261 .dev = {
262 .dma_mask = &cpmac_dma_mask, 262 .dma_mask = &cpmac_dma_mask,
263 .coherent_dma_mask = DMA_32BIT_MASK, 263 .coherent_dma_mask = DMA_BIT_MASK(32),
264 .platform_data = &cpmac_high_data, 264 .platform_data = &cpmac_high_data,
265 }, 265 },
266 .resource = cpmac_high_res, 266 .resource = cpmac_high_res,