serial: add static directive to local functions
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 23 Oct 2014 13:26:05 +0000 (22:26 +0900)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 03:43:08 +0000 (21:43 -0600)
commit3fdd0bb2b0dc20f192e9ea8682d5c18f37daadc1
tree0fe4cc95f9ab9d19b7c470d501e7b5cc654959b9
parent86256b796ee757b7d1407233d0ca71576a7b8182
serial: add static directive to local functions

The functions _serial_putc, _serial_putc_raw, _serial_puts,
_serial_getc, _serial_tstc, _serial_setbrg are defined and used
locally in each of serial_ns16550.c and serial_s3c24x0.c.

Add static directive to them and remove declarations from
include/common.h.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_ns16550.c
drivers/serial/serial_s3c24x0.c
include/common.h