projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a673025
)
serial: zynq: Make zynq_serial_setbrg static
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 14 Jun 2018 09:19:57 +0000
(11:19 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:05 +0000
(08:54 +0200)
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>
drivers/serial/serial_zynq.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_zynq.c
b/drivers/serial/serial_zynq.c
index cc14bfa39cff132896e2fa3909ecc434412fbbe0..a191772ff0403240128475099c27d5609f661e54 100644
(file)
--- 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;