platform: kendryte/k210: Declare local function static

k210_console_putc() and k210_console_init() are local functions. Declare
them as static.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
Damien Le Moal
2019-01-03 13:34:32 +09:00
parent da86853a51
commit 4079df63a7

View File

@@ -18,14 +18,14 @@
#define K210_UART_BAUDRATE 115200 #define K210_UART_BAUDRATE 115200
int k210_console_init(void) static int k210_console_init(void)
{ {
uarths_init(K210_UART_BAUDRATE, UARTHS_STOP_1); uarths_init(K210_UART_BAUDRATE, UARTHS_STOP_1);
return 0; return 0;
} }
void k210_console_putc(char c) static void k210_console_putc(char c)
{ {
uarths_putc(c); uarths_putc(c);
} }