summaryrefslogtreecommitdiff
path: root/drivers/net/smc911x.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-01-19 10:28:07 +0300
committerEric Miao <eric.miao@marvell.com>2009-03-09 16:22:38 +0300
commit5742964e916269e01a3467d2bff2601180b7da3d (patch)
tree16f5b6675cb8f6cf3e121d36557ce9978cb05f28 /drivers/net/smc911x.h
parent290a5589ce83540d0aba811c3d15af34aa373533 (diff)
downloadlinux-5742964e916269e01a3467d2bff2601180b7da3d.tar.xz
[ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h
pxa-regs.h and hardware.h are not intended for use directly in driver code, remove those unnecessary references. Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'drivers/net/smc911x.h')
-rw-r--r--drivers/net/smc911x.h3
1 files changed, 1 insertions, 2 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,
* Use a DMA for RX and TX packets.
*/
#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 int rx_dmalen, tx_dmalen;