]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
altera_uart: Adjust the declaration of debug_uart_init()
authorThomas Chou <thomas@wytron.com.tw>
Tue, 3 Nov 2015 06:19:02 +0000 (14:19 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 04:56:46 +0000 (12:56 +0800)
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of
debug_uart_init()")

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Chin Liang See <clsee@altera.com>
drivers/serial/altera_uart.c

index 4c4794eee7ee6f1b844d83000da595085fe3bf72..5d76c3359ba91d8eca52564424ee27759d2f71b9 100644 (file)
@@ -124,7 +124,7 @@ U_BOOT_DRIVER(altera_uart) = {
 
 #include <debug_uart.h>
 
-void debug_uart_init(void)
+static inline void _debug_uart_init(void)
 {
        struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE;
        u32 div;