Peter Hurley
6b3cddccf4
serial: core: Fix unused variable warnings from uart_console()
If CONFIG_SERIAL_CORE_CONSOLE=n, build warnings are generated by
uart_console() macro expansion:
drivers/tty/serial/of_serial.c: In function ‘of_serial_suspend_8250’:
drivers/tty/serial/of_serial.c:262:20: warning: unused variable ‘port’ [-Wunused-variable]
struct uart_port *port = &port8250->port;
^
drivers/tty/serial/of_serial.c: In function ‘of_serial_resume_8250’:
drivers/tty/serial/of_serial.c:272:20: warning: unused variable ‘port’ [-Wunused-variable]
struct uart_port *port = &port8250->port;
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-06 22:27:00 +02:00
..
2015-04-28 23:58:54 +02:00
2015-04-21 09:33:10 -07:00
2015-04-24 09:49:37 -07:00
2015-05-06 22:27:00 +02:00
2015-04-21 06:12:35 -03:00
2015-04-26 22:59:53 -04:00
2015-04-27 09:38:06 -07:00
2015-04-30 19:08:06 +02:00
2015-04-24 10:22:09 -07:00
2015-04-26 17:22:07 -07:00
2015-05-01 20:46:32 -07:00
2015-04-20 15:16:25 -07:00