[PATCH] net: smc911x: includecheck fix for smc911x.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jaswinder Singh Rajput
Date: Sunday, August 9, 2009 - 6:12 am

fix the following 'make includecheck' warning:

  drivers/net/smc911x.h: mach/dma.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
 drivers/net/smc911x.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 8140f7c..05adb6a 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -236,7 +236,6 @@ 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 <mach/dma.h>
 
 static dma_addr_t rx_dmabuf, tx_dmabuf;
 static int rx_dmalen, tx_dmalen;
-- 
1.6.0.6



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] net: smc911x: includecheck fix for smc911x.h, Jaswinder Singh Rajput, (Sun Aug 9, 6:12 am)
Re: [PATCH] net: smc911x: includecheck fix for smc911x.h, David Miller, (Wed Aug 12, 10:13 pm)