projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821fec0
)
serial: zynq: Use static inline for _debug_uart_init()
author
Michal Simek
<
[email protected]
>
Tue, 5 Jan 2016 11:49:21 +0000
(12:49 +0100)
committer
Tom Rini
<
[email protected]
>
Fri, 8 Jan 2016 15:15:45 +0000
(10:15 -0500)
Mark _debug_uart_init() as static to avoid sparse warning and
inline it to debug_uart_init().
Reported-by: Thomas Chou <
[email protected]
>
Signed-off-by: Michal Simek <
[email protected]
>
Reviewed-by: Thomas Chou <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
drivers/serial/serial_zynq.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_zynq.c
b/drivers/serial/serial_zynq.c
index b2b98dea156112773d344f3598d3375fa22b7ec4..3430482f8d8b9e9a63c9dda792a07035d58a6401 100644
(file)
--- a/
drivers/serial/serial_zynq.c
+++ b/
drivers/serial/serial_zynq.c
@@
-192,7
+192,7
@@
U_BOOT_DRIVER(serial_zynq) = {
};
#ifdef CONFIG_DEBUG_UART_ZYNQ
-void _debug_uart_init(void)
+
static inline
void _debug_uart_init(void)
{
struct uart_zynq *regs = (struct uart_zynq *)CONFIG_DEBUG_UART_BASE;