summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files
diff options
context:
space:
mode:
authorEugene Konev <ejka@imfi.kspu.ru>2007-09-14 05:30:11 +0000
committerEugene Konev <ejka@imfi.kspu.ru>2007-09-14 05:30:11 +0000
commit5d3031cfb086ae298ff124b8ff6f3d1e6536eab9 (patch)
tree984a93aadd3a69b0641ec46c66eda42edd26b0e1 /target/linux/ar7/files
parent438d168a980c69067af282d7c612d528cbc65b5d (diff)
downloadmtk-20170518-5d3031cfb086ae298ff124b8ff6f3d1e6536eab9.zip
mtk-20170518-5d3031cfb086ae298ff124b8ff6f3d1e6536eab9.tar.gz
mtk-20170518-5d3031cfb086ae298ff124b8ff6f3d1e6536eab9.tar.bz2
fix previous commit
SVN-Revision: 8774
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/platform.c9
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 6c7744c..1af1a87 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,