diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/smc911x.h | 3 | ||||
-rw-r--r-- | drivers/net/smc91x.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 870b4c33f108..611584ee7a01 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h | |||
@@ -226,8 +226,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, | |||
226 | * Use a DMA for RX and TX packets. | 226 | * Use a DMA for RX and TX packets. |
227 | */ | 227 | */ |
228 | #include <linux/dma-mapping.h> | 228 | #include <linux/dma-mapping.h> |
229 | #include <asm/dma.h> | 229 | #include <mach/dma.h> |
230 | #include <mach/pxa-regs.h> | ||
231 | 230 | ||
232 | static dma_addr_t rx_dmabuf, tx_dmabuf; | 231 | static dma_addr_t rx_dmabuf, tx_dmabuf; |
233 | static int rx_dmalen, tx_dmalen; | 232 | static int rx_dmalen, tx_dmalen; |
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index c4ccd121bc9c..4d689b59c58c 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h | |||
@@ -494,8 +494,6 @@ struct smc_local { | |||
494 | */ | 494 | */ |
495 | #include <linux/dma-mapping.h> | 495 | #include <linux/dma-mapping.h> |
496 | #include <mach/dma.h> | 496 | #include <mach/dma.h> |
497 | #include <mach/hardware.h> | ||
498 | #include <mach/pxa-regs.h> | ||
499 | 497 | ||
500 | #ifdef SMC_insl | 498 | #ifdef SMC_insl |
501 | #undef SMC_insl | 499 | #undef SMC_insl |