arch/riscv: Rename riscv_puts to up_puts

since it's a common API defined in include/nuttx/arch.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-09-17 18:24:33 +08:00
parent 6d888dc8a7
commit d980c0ffa2
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -200,7 +200,6 @@ void riscv_pminitialize(void);
/* Low level serial output **************************************************/
void riscv_lowputc(char ch);
void riscv_puts(const char *str);
void riscv_lowputs(const char *str);
#ifdef USE_SERIALDRIVER
+2 -2
View File
@@ -32,14 +32,14 @@
****************************************************************************/
/****************************************************************************
* Name: riscv_puts
* Name: up_puts
*
* Description:
* This is a low-level helper function used to support debug.
*
****************************************************************************/
void riscv_puts(const char *str)
void up_puts(const char *str)
{
while (*str)
{