|
@@ -226,8 +226,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
|
|
* Use a DMA for RX and TX packets.
|
|
* Use a DMA for RX and TX packets.
|
|
*/
|
|
*/
|
|
#include <linux/dma-mapping.h>
|
|
#include <linux/dma-mapping.h>
|
|
-#include <asm/dma.h>
|
|
|
|
-#include <mach/pxa-regs.h>
|
|
|
|
|
|
+#include <mach/dma.h>
|
|
|
|
|
|
static dma_addr_t rx_dmabuf, tx_dmabuf;
|
|
static dma_addr_t rx_dmabuf, tx_dmabuf;
|
|
static int rx_dmalen, tx_dmalen;
|
|
static int rx_dmalen, tx_dmalen;
|