summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-06-05 18:46:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 00:41:18 +0200
commitf109293f5889dd30477564a3ce2c901f4024a53e (patch)
tree19088ab21d486e4b1e6dcdb23677275f0fc427f5 /drivers/tty
parentserial: fix kernel-doc warnings in 8250.c (diff)
downloadlinux-f109293f5889dd30477564a3ce2c901f4024a53e.tar.xz
linux-f109293f5889dd30477564a3ce2c901f4024a53e.zip
serial: fix serial_txx9.c build warning/typo
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/serial_txx9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c
index 34bd345da775..6ae2a58d62f2 100644
--- a/drivers/tty/serial/serial_txx9.c
+++ b/drivers/tty/serial/serial_txx9.c
@@ -466,7 +466,7 @@ static void serial_txx9_break_ctl(struct uart_port *port, int break_state)
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
*/