serial: make serial_stub_* to static functions
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:48:49 +0000 (16:48 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 6 Jul 2017 17:09:35 +0000 (13:09 -0400)
commit49ddcf3e0e923040ef554d9ea033e0d8ba7e80e1
tree39424324a20bd8d217a51240647959524193053c
parent7e09145ea2e985511c660bdf567b61614acd75b3
serial: make serial_stub_* to static functions

Add missing static to serial_stub_puts().

Unexport serial_stub_{getc,tstc} because they are used locally.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c
drivers/serial/serial.c
include/common.h