debug_uart: Adjust the declaration of debug_uart_init()
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 01:51:23 +0000 (19:51 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:50 +0000 (07:46 -0600)
commit97b059730218824a1455f030aadd78ef51729ec0
tree82a2ac7f538fcfb1e1ab827e9f07711930cecd8f
parent5ac98cb9bd1f9b74e2165d69da267f3522714c56
debug_uart: Adjust the declaration of debug_uart_init()

We want to be able to add other common code to this function. So change the
driver's version to have an underscore before it, just like
_debug_uart_putc(). Define debug_uart_init() to call this version.

Update all drivers to this new method.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/serial/ns16550.c
drivers/serial/serial_efi.c
drivers/serial/serial_s5p.c
include/debug_uart.h
lib/efi/efi_stub.c