diff mbox

[U-Boot,2/2] altera_uart: Adjust the declaration of debug_uart_init()

Message ID 1446531575-17015-2-git-send-email-thomas@wytron.com.tw
State Accepted, archived
Delegated to: Thomas Chou
Headers show

Commit Message

Thomas Chou Nov. 3, 2015, 6:19 a.m. UTC
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of
debug_uart_init()")

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 drivers/serial/altera_uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Vasut Nov. 3, 2015, 3:22 p.m. UTC | #1
On Tuesday, November 03, 2015 at 07:19:35 AM, Thomas Chou wrote:
> 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>

> ---
>  drivers/serial/altera_uart.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c
> index 4c4794e..6228981 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)
> +void _debug_uart_init(void)
>  {
>  	struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE;
>  	u32 div;

Best regards,
Marek Vasut
Chin Liang See Nov. 4, 2015, 7:28 a.m. UTC | #2
On Tue, 2015-11-03 at 14:19 +0800, thomas@wytron.com.tw wrote:
> Follow commit 97b059730218 ("debug_uart: Adjust the declaration of
> debug_uart_init()")
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>


Reviewed-by: Chin Liang See <clsee@altera.com>

Thanks
Chin Liang
Thomas Chou Nov. 6, 2015, 1:28 a.m. UTC | #3
On 2015年11月03日 14:19, Thomas Chou wrote:
> Follow commit 97b059730218 ("debug_uart: Adjust the declaration of
> debug_uart_init()")
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>   drivers/serial/altera_uart.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied to u-boot-nios.

> diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c
> index 4c4794e..6228981 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)
> +void _debug_uart_init(void)
>   {
>   	struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE;
>   	u32 div;
>
diff mbox

Patch

diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c
index 4c4794e..6228981 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)
+void _debug_uart_init(void)
 {
 	struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE;
 	u32 div;