mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01: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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user