[U-Boot] [PATCH 1/2] altera_jtag_uart: Adjust the declaration of debug_uart_init()

Simon Glass
2015-11-06T03:15:18Z

Hi Thomas,

On 5 November 2015 at 18:28, Thomas Chou <thomas@wytron.com.tw> wrote:
>
>
>
> 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_jtag_uart.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Applied to u-boot-nios.
>
>
>> diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c
>> index 767603c..5f0d7ac 100644
>> --- a/drivers/serial/altera_jtag_uart.c
>> +++ b/drivers/serial/altera_jtag_uart.c
>> @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
>>
>> #include <debug_uart.h>
>>
>> -void debug_uart_init(void)
>> +void _debug_uart_init(void)

BTW I think that should be static.

>> {
>> }
>>
>>

Regards,
Simon