* serial: fix serial_txx9.c build warning/typo
@ 2012-06-05 16:46 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2012-06-05 16:46 UTC (permalink / raw)
To: LKML, linux-serial; +Cc: Alan Cox, Greg Kroah-Hartman, Geert Uytterhoeven
From: Randy Dunlap <rdunlap@xenotime.net>
Fix kconfig symbol test to use "defined":
drivers/tty/serial/serial_txx9.c: warning: "CONFIG_CONSOLE_POLL" is not defined [-Wundef]
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/tty/serial/serial_txx9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-35-rc1.orig/drivers/tty/serial/serial_txx9.c
+++ lnx-35-rc1/drivers/tty/serial/serial_txx9.c
@@ -466,7 +466,7 @@ static void serial_txx9_break_ctl(struct
spin_unlock_irqrestore(&up->port.lock, flags);
}
-#if defined(CONFIG_SERIAL_TXX9_CONSOLE) || (CONFIG_CONSOLE_POLL)
+#if defined(CONFIG_SERIAL_TXX9_CONSOLE) || defined(CONFIG_CONSOLE_POLL)
/*
* Wait for transmitter & holding register to empty
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-05 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 16:46 serial: fix serial_txx9.c build warning/typo Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).