diff options
author | Eugene Konev <ejka@openwrt.org> | 2007-09-14 05:30:11 +0000 |
---|---|---|
committer | Eugene Konev <ejka@openwrt.org> | 2007-09-14 05:30:11 +0000 |
commit | 995625e575f94e669e30b3273171027077424cbb (patch) | |
tree | e180c7824526e31f0fc4f24ca54cb709ce31e42d /target/linux | |
parent | c9df4095328ccd471e4d226b26deffd95f39c31d (diff) | |
download | upstream-995625e575f94e669e30b3273171027077424cbb.tar.gz upstream-995625e575f94e669e30b3273171027077424cbb.tar.bz2 upstream-995625e575f94e669e30b3273171027077424cbb.zip |
fix previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8774 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/platform.c | 9 |
1 files 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 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 <linux/types.h> #include <linux/module.h> #include <linux/delay.h> +#include <linux/dma-mapping.h> #include <linux/platform_device.h> #include <linux/mtd/physmap.h> #include <linux/serial.h> @@ -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, |