From 27ab715e19dea38d83075824e20ef76e6861563e Mon Sep 17 00:00:00 2001 From: ejka Date: Fri, 14 Sep 2007 05:30:11 +0000 Subject: fix previous commit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8774 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/files/arch/mips/ar7/platform.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'target/linux/ar7/files/arch/mips') diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c index 6c7744c6bc..1af1a87b2a 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, -- cgit v1.2.3