[U-Boot] [PATCH v2 1/8] serial: add static directive to local functions

Simon Glass sjg at chromium.org
Fri Oct 24 05:54:28 CEST 2014


On 23 October 2014 07:26, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> 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 at jp.panasonic.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/serial/serial_ns16550.c | 21 +++++++--------------
>  drivers/serial/serial_s3c24x0.c | 10 +++++-----
>  include/common.h                |  7 -------
>  3 files changed, 12 insertions(+), 26 deletions(-)

Applied to u-boot-dm/master, thanks!


More information about the U-Boot mailing list