serial: zynq: Use static inline for _debug_uart_init()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 5 Jan 2016 11:49:21 +0000 (12:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jan 2016 15:15:45 +0000 (10:15 -0500)
commit80dc99972bd016af559f76e5b51a421f7ae2216e
tree912b5c63c9fbc3c8e6d611db464861640ff2e636
parent821fec0ceb3e26f9306f331fa547a980ff111134
serial: zynq: Use static inline for _debug_uart_init()

Mark _debug_uart_init() as static to avoid sparse warning and
inline it to debug_uart_init().

Reported-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_zynq.c