From b729ed0d95415bd694a6b67c0761f03ef5a1e2bc Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 14 Jun 2018 11:19:57 +0200 Subject: [PATCH] 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 --- drivers/serial/serial_zynq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5