public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/ne.c: fix warning with -Wundef
@ 2005-07-22 21:42 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-07-22 21:42 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev, linux-kernel

This patch fixes the following warning with -Wundef:

<--  snip  -->

...
  CC      drivers/net/ne.o
drivers/net/ne.c:134:7: warning: "CONFIG_PLAT_OAKS32R" is not defined
...

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc3-mm1-full/drivers/net/ne.c.old	2005-07-22 18:24:32.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/drivers/net/ne.c	2005-07-22 18:24:50.000000000 +0200
@@ -131,7 +131,7 @@
 
 #ifdef CONFIG_PLAT_MAPPI
 #  define DCR_VAL 0x4b
-#elif CONFIG_PLAT_OAKS32R
+#elif defined(CONFIG_PLAT_OAKS32R)
 #  define DCR_VAL 0x48
 #else
 #  define DCR_VAL 0x49


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-22 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22 21:42 [2.6 patch] drivers/net/ne.c: fix warning with -Wundef Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox