lkml.org 
[lkml]   [2000]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH test2] fix serial.c compile warning

break_pressed is only used in regions with extra conditionals compared
to sercons.

Jesper

--- /local/linux/linux-dist/linux-2.4.0-test2/drivers/char/serial.c Thu Jul 6 11:06:39 2000
+++ serial.c Thu Jul 6 11:29:23 2000
@@ -253,8 +258,10 @@
static int IRQ_timeout[NR_IRQS];
#ifdef CONFIG_SERIAL_CONSOLE
static struct console sercons;
+#if defined(CONFIG_MAGIC_SYSRQ) && !defined(MODULE)
static unsigned long break_pressed; /* break, really ... */
#endif
+#endif

static unsigned detect_uart_irq (struct serial_state * state);
static void autoconfig(struct serial_state * state);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans