diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-06-14 11:19:57 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-06-15 08:54:05 +0200 |
commit | b729ed0d95415bd694a6b67c0761f03ef5a1e2bc (patch) | |
tree | ca897c82baef8bc22f6f66924742381c7fed02f6 /drivers/serial | |
parent | a673025535ae6b559be9badb9fd4c2c9e692b880 (diff) | |
download | u-boot-b729ed0d95415bd694a6b67c0761f03ef5a1e2bc.tar.gz u-boot-b729ed0d95415bd694a6b67c0761f03ef5a1e2bc.tar.xz u-boot-b729ed0d95415bd694a6b67c0761f03ef5a1e2bc.zip |
serial: zynq: Make zynq_serial_setbrg static
This function is used only inside this driver that's why should be
static.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_zynq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index cc14bfa39c..a191772ff0 100644 --- a/drivers/serial/serial_zynq.c +++ b/drivers/serial/serial_zynq.c @@ -103,7 +103,7 @@ static int _uart_zynq_serial_putc(struct uart_zynq *regs, const char c) return 0; } -int zynq_serial_setbrg(struct udevice *dev, int baudrate) +static int zynq_serial_setbrg(struct udevice *dev, int baudrate) { struct zynq_uart_priv *priv = dev_get_priv(dev); unsigned long clock; |