summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 07:48:49 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-06 17:09:35 (GMT)
commit49ddcf3e0e923040ef554d9ea033e0d8ba7e80e1 (patch)
tree39424324a20bd8d217a51240647959524193053c /include
parent7e09145ea2e985511c660bdf567b61614acd75b3 (diff)
downloadu-boot-49ddcf3e0e923040ef554d9ea033e0d8ba7e80e1.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/common.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/common.h b/include/common.h
index 638c45b..1a98512 100644
--- a/include/common.h
+++ b/include/common.h
@@ -490,11 +490,6 @@ void serial_puts (const char *);
int serial_getc (void);
int serial_tstc (void);
-/* These versions take a stdio_dev pointer */
-struct stdio_dev;
-int serial_stub_getc(struct stdio_dev *sdev);
-int serial_stub_tstc(struct stdio_dev *sdev);
-
/* $(CPU)/speed.c */
int get_clocks (void);
ulong get_bus_freq (ulong);