summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-23 22:26:05 +0900
committerSimon Glass <sjg@chromium.org>2014-10-23 21:43:08 -0600
commit3fdd0bb2b0dc20f192e9ea8682d5c18f37daadc1 (patch)
tree0fe4cc95f9ab9d19b7c470d501e7b5cc654959b9 /include/common.h
parent86256b796ee757b7d1407233d0ca71576a7b8182 (diff)
downloadblackbird-obmc-uboot-3fdd0bb2b0dc20f192e9ea8682d5c18f37daadc1.tar.gz
blackbird-obmc-uboot-3fdd0bb2b0dc20f192e9ea8682d5c18f37daadc1.zip
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>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h
index d5020c8c45..bcf6c7e950 100644
--- a/include/common.h
+++ b/include/common.h
@@ -636,13 +636,6 @@ struct stdio_dev;
int serial_stub_getc(struct stdio_dev *sdev);
int serial_stub_tstc(struct stdio_dev *sdev);
-void _serial_setbrg (const int);
-void _serial_putc (const char, const int);
-void _serial_putc_raw(const char, const int);
-void _serial_puts (const char *, const int);
-int _serial_getc (const int);
-int _serial_tstc (const int);
-
/* $(CPU)/speed.c */
int get_clocks (void);
int get_clocks_866 (void);
OpenPOWER on IntegriCloud