diff mbox

net: smc911x: includecheck fix for smc911x.h

Message ID 1249823558.2957.8.camel@ht.satnam
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Jaswinder Singh Rajput Aug. 9, 2009, 1:12 p.m. UTC
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(-)

Comments

David Miller Aug. 13, 2009, 5:13 a.m. UTC | #1
From: Jaswinder Singh Rajput <jaswinder@kernel.org>
Date: Sun, 09 Aug 2009 18:42:38 +0530

> 
> 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>

Applied.
--
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
diff mbox

Patch

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;