mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
a673025535
commit
b729ed0d95
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue