Skip to contentSkip to conversation

net: smc911x: shut up compiler warnings

PATCH Applied [email protected] 2 participants 2 messages Dec 14, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/10 net: smc911x: shut up compiler warnings

From: Paul Mundt <[email protected]>

Trivial fix to shut up gcc.

---

 drivers/net/smc911x.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/smc911x.h renamed from drivers/net/smc911x.h~net-smc911x-shut-up-compiler-warnings +1 -1
diff -puN drivers/net/smc911x.h~net-smc911x-shut-up-compiler-warnings drivers/net/smc911x.h
@@ -76,7 +76,7 @@
 
 
 
-#if	 SMC_USE_PXA_DMA
+#ifdef SMC_USE_PXA_DMA
 #define SMC_USE_DMA
 
 /*

_

#1 lore raw
Quoted 24 lines · [email protected] wrote:

From: Paul Mundt <[email protected]>

Trivial fix to shut up gcc.

---

 drivers/net/smc911x.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/smc911x.h~net-smc911x-shut-up-compiler-warnings drivers/net/smc911x.h

drivers/net/smc911x.h renamed from drivers/net/smc911x.h~net-smc911x-shut-up-compiler-warnings +1 -1
@@ -76,7 +76,7 @@
 
 
 
-#if	 SMC_USE_PXA_DMA
+#ifdef SMC_USE_PXA_DMA
 #define SMC_USE_DMA
 
 /*
Quoted 1 line

_

applied #upstream-fixes