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

Simon Glass sjg at chromium.org
Fri Nov 6 04:15:18 CET 2015


Hi Thomas,

On 5 November 2015 at 18:28, Thomas Chou <thomas at 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 at 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


More information about the U-Boot mailing list