From: Michal Simek Date: Thu, 14 Jun 2018 09:19:57 +0000 (+0200) Subject: serial: zynq: Make zynq_serial_setbrg static X-Git-Tag: v2018.07-rc2~49^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b729ed0d95415bd694a6b67c0761f03ef5a1e2bc;p=u-boot 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 Reviewed-by: Simon Glass --- 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;