summaryrefslogtreecommitdiff
path: root/platform/kendryte
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-01-03 07:34:32 +0300
committerDamien Le Moal <damien.lemoal@wdc.com>2019-01-03 07:34:32 +0300
commit4079df63a7a081c649a350eafd92af51d99df448 (patch)
tree5caccbb4fd3cb36e59db777edb541dfc599c8bd5 /platform/kendryte
parentda86853a51e3cdddc12cff8c29116c2e87da525c (diff)
downloadopensbi-4079df63a7a081c649a350eafd92af51d99df448.tar.xz
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>
Diffstat (limited to 'platform/kendryte')
-rw-r--r--platform/kendryte/k210/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c
index 35119db..fd0b31a 100644
--- a/platform/kendryte/k210/platform.c
+++ b/platform/kendryte/k210/platform.c
@@ -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);
}