mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 10:15:11 +02:00
fix previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8774 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7c21609c5c
commit
27ab715e19
@ -21,6 +21,7 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <linux/dma-mapping.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/mtd/physmap.h>
|
#include <linux/mtd/physmap.h>
|
||||||
#include <linux/serial.h>
|
#include <linux/serial.h>
|
||||||
@ -219,8 +220,8 @@ static struct platform_device cpmac_low = {
|
|||||||
.id = 0,
|
.id = 0,
|
||||||
.name = "cpmac",
|
.name = "cpmac",
|
||||||
.dev = {
|
.dev = {
|
||||||
.dma_mask = &cpmac_dma_mask;
|
.dma_mask = &cpmac_dma_mask,
|
||||||
.coherent_dma_mask = DMA_32BIT_MASK;
|
.coherent_dma_mask = DMA_32BIT_MASK,
|
||||||
.platform_data = &cpmac_low_data,
|
.platform_data = &cpmac_low_data,
|
||||||
},
|
},
|
||||||
.resource = cpmac_low_res,
|
.resource = cpmac_low_res,
|
||||||
@ -231,8 +232,8 @@ static struct platform_device cpmac_high = {
|
|||||||
.id = 1,
|
.id = 1,
|
||||||
.name = "cpmac",
|
.name = "cpmac",
|
||||||
.dev = {
|
.dev = {
|
||||||
.dma_mask = &cpmac_dma_mask;
|
.dma_mask = &cpmac_dma_mask,
|
||||||
.coherent_dma_mask = DMA_32BIT_MASK;
|
.coherent_dma_mask = DMA_32BIT_MASK,
|
||||||
.platform_data = &cpmac_high_data,
|
.platform_data = &cpmac_high_data,
|
||||||
},
|
},
|
||||||
.resource = cpmac_high_res,
|
.resource = cpmac_high_res,
|
||||||
|
Loading…
Reference in New Issue
Block a user