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)
commitf363ca2fc8d12ebaad1a8bdae0f164c17c747b89
tree15538acb7caf0c49fcf8fff23bf08f4de667b277
parent2970b7f5ea3cea2f169ca23fd863e24d03748ffd
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