From: Thomas Chou Date: Tue, 3 Nov 2015 06:19:02 +0000 (+0800) Subject: altera_uart: Adjust the declaration of debug_uart_init() X-Git-Tag: v2016.01-rc1~86^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e03c17d053025c56d04282be0baf5b2969b6f4a0;p=platform%2Fkernel%2Fu-boot.git altera_uart: Adjust the declaration of debug_uart_init() Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()") Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut Reviewed-by: Chin Liang See --- diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 4c4794e..5d76c33 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c @@ -124,7 +124,7 @@ U_BOOT_DRIVER(altera_uart) = { #include -void debug_uart_init(void) +static inline void _debug_uart_init(void) { struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; u32 div;