[PATCH] 2.6.9-rc1 - #ifdef cleanup for cris port

From: Valdis . Kletnieks
Date: Tue Aug 24 2004 - 09:10:14 EST


Another small #if/#ifdef cleanup, to make things safer for compiling with -Wundef

Signed-off-by: valdis.kletnieks@xxxxxx

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


Attachment: pgp00000.pgp
Description: PGP signature