summaryrefslogtreecommitdiff
path: root/drivers/serial/altera_uart.c
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-03 14:19:02 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-06 12:56:46 +0800
commite03c17d053025c56d04282be0baf5b2969b6f4a0 (patch)
treeb74088de698929b4eddb13bb3b28136bc78970f8 /drivers/serial/altera_uart.c
parent933529ce15a49a25c00dffd4c1988ce9206a9226 (diff)
downloadu-boot-imx-e03c17d053025c56d04282be0baf5b2969b6f4a0.zip
u-boot-imx-e03c17d053025c56d04282be0baf5b2969b6f4a0.tar.gz
u-boot-imx-e03c17d053025c56d04282be0baf5b2969b6f4a0.tar.bz2
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 <thomas@wytron.com.tw> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'drivers/serial/altera_uart.c')
-rw-r--r--drivers/serial/altera_uart.c2
1 files changed, 1 insertions, 1 deletions
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 <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;