]> git.baikalelectronics.ru Git - kernel.git/commit
serial/arc: Fix warning with CONSOLE_POLL
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Fri, 11 Jul 2014 13:01:37 +0000 (18:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:49:46 +0000 (17:49 -0700)
commit57f7b3b346113bdae4fd8ab91aa8ed6e7a15b69d
tree15538acb7caf0c49fcf8fff23bf08f4de667b277
parent3a9fefb8db81ddaae904f7954eb1dc95d4e1d248
serial/arc: Fix warning with CONSOLE_POLL

| drivers/tty/serial/arc_uart.c:516:2: warning: (near initialization for 'arc_serial_pops.poll_put_char') [enabled by default]

This partially undoes "serial/arc: use uart_console_write() helper" by
restoring the prototpye of poll helper and use a different one in
uart_console_write()

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/arc_uart.c