]> git.baikalelectronics.ru Git - kernel.git/commit
serial: pch_uart: fix compilation warning
authorLuis Henriques <luis.henriques@canonical.com>
Wed, 14 Aug 2013 22:18:37 +0000 (23:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 01:33:43 +0000 (18:33 -0700)
commit3fa361f9f9fe7f48c3b640e9f5b077a1c4203733
tree42f902793ebc3591b798c12890456c8e6baae474
parentc1bbf6dd86e03ede1be143802485c700f80a325f
serial: pch_uart: fix compilation warning

Function wait_for_xmitr is invoked only on functions that either depend
on CONFIG_CONSOLE_POLL or CONFIG_SERIAL_PCH_UART_CONSOLE.

This patch fixes the following warning:

drivers/tty/serial/pch_uart.c:1504:13: warning: ‘wait_for_xmitr’ defined but not used [-Wunused-function]

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c