From 5d3031cfb086ae298ff124b8ff6f3d1e6536eab9 Mon Sep 17 00:00:00 2001 From: Eugene Konev Date: Fri, 14 Sep 2007 05:30:11 +0000 Subject: [PATCH] fix previous commit SVN-Revision: 8774 --- target/linux/ar7/files/arch/mips/ar7/platform.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c index 6c7744c6bc3..1af1a87b2a2 100644 --- a/target/linux/ar7/files/arch/mips/ar7/platform.c +++ b/target/linux/ar7/files/arch/mips/ar7/platform.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -219,8 +220,8 @@ static struct platform_device cpmac_low = { .id = 0, .name = "cpmac", .dev = { - .dma_mask = &cpmac_dma_mask; - .coherent_dma_mask = DMA_32BIT_MASK; + .dma_mask = &cpmac_dma_mask, + .coherent_dma_mask = DMA_32BIT_MASK, .platform_data = &cpmac_low_data, }, .resource = cpmac_low_res, @@ -231,8 +232,8 @@ static struct platform_device cpmac_high = { .id = 1, .name = "cpmac", .dev = { - .dma_mask = &cpmac_dma_mask; - .coherent_dma_mask = DMA_32BIT_MASK; + .dma_mask = &cpmac_dma_mask, + .coherent_dma_mask = DMA_32BIT_MASK, .platform_data = &cpmac_high_data, }, .resource = cpmac_high_res, -- 2.30.2