diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:44 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:02:02 -0400 |
commit | 654f8d0f3d4c606b75b70bbf0b1303a6074f0788 (patch) | |
tree | d011e05a0ff0a94d423b411759bda6e3ce51c01e /drivers/serial/serial.c | |
parent | 6588c78bf3d2da719286a3b89f10c0e64d731c3a (diff) | |
download | u-boot-654f8d0f3d4c606b75b70bbf0b1303a6074f0788.tar.gz |
serial: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/serial/serial.c')
-rw-r--r-- | drivers/serial/serial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 82fbbd92e2..71cb97d14f 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -256,28 +256,28 @@ void serial_initialize(void) serial_assign(default_serial_console()->name); } -int serial_stub_start(struct stdio_dev *sdev) +static int serial_stub_start(struct stdio_dev *sdev) { struct serial_device *dev = sdev->priv; return dev->start(); } -int serial_stub_stop(struct stdio_dev *sdev) +static int serial_stub_stop(struct stdio_dev *sdev) { struct serial_device *dev = sdev->priv; return dev->stop(); } -void serial_stub_putc(struct stdio_dev *sdev, const char ch) +static void serial_stub_putc(struct stdio_dev *sdev, const char ch) { struct serial_device *dev = sdev->priv; dev->putc(ch); } -void serial_stub_puts(struct stdio_dev *sdev, const char *str) +static void serial_stub_puts(struct stdio_dev *sdev, const char *str) { struct serial_device *dev = sdev->priv; |