mirror of
https://github.com/riscv-software-src/opensbi
synced 2025-11-20 02:43:34 +00:00
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:
parent
da86853a51
commit
4079df63a7
@ -18,14 +18,14 @@
|
||||
|
||||
#define K210_UART_BAUDRATE 115200
|
||||
|
||||
int k210_console_init(void)
|
||||
static int k210_console_init(void)
|
||||
{
|
||||
uarths_init(K210_UART_BAUDRATE, UARTHS_STOP_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void k210_console_putc(char c)
|
||||
static void k210_console_putc(char c)
|
||||
{
|
||||
uarths_putc(c);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user