summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/serial_txx9.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-06-05 20:46:07 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 02:41:18 +0400
commitf109293f5889dd30477564a3ce2c901f4024a53e (patch)
tree19088ab21d486e4b1e6dcdb23677275f0fc427f5 /drivers/tty/serial/serial_txx9.c
parent58bcd3322944f31c9a8b02694e221c645cf4ffd9 (diff)
downloadlinux-f109293f5889dd30477564a3ce2c901f4024a53e.tar.xz
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/serial/serial_txx9.c')
-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
*/