lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.6.9-rc1 - #ifdef cleanup for cris port
From
Date
Another small #if/#ifdef cleanup, to make things safer for compiling with -Wundef

Signed-off-by: valdis.kletnieks@vt.edu

--- linux-2.6.9-rc1/arch/cris/arch-v10/kernel/debugport.c.ifdef 2004-08-14 01:36:12.000000000 -0400
+++ linux-2.6.9-rc1/arch/cris/arch-v10/kernel/debugport.c 2004-08-24 10:06:14.443566890 -0400
@@ -259,7 +259,7 @@ static struct console sercons = {
void __init
init_etrax_debug(void)
{
-#if CONFIG_ETRAX_DEBUG_PORT_NULL
+#ifdef CONFIG_ETRAX_DEBUG_PORT_NULL
return;
#endif

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site