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 committed by Gustavo Henrique Nihei
parent 0625f9888c
commit 71c61b11d9
2 changed files with 2 additions and 3 deletions

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

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)
{