drivers/note: rename /dev/note to /dev/note/ram

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2022-12-14 12:53:09 +08:00 committed by Xiang Xiao
parent 949a0d6032
commit 2460ff4f78
2 changed files with 3 additions and 3 deletions

View File

@ -881,7 +881,7 @@ void sched_note_add(FAR const void *note, size_t notelen)
* Name: noteram_register
*
* Description:
* Register a serial driver at /dev/note that can be used by an
* Register a serial driver at /dev/note/ram that can be used by an
* application to read data from the circular note buffer.
*
* Input Parameters:
@ -894,5 +894,5 @@ void sched_note_add(FAR const void *note, size_t notelen)
int noteram_register(void)
{
return register_driver("/dev/note", &g_noteram_fops, 0666, NULL);
return register_driver("/dev/note/ram", &g_noteram_fops, 0666, NULL);
}

View File

@ -93,7 +93,7 @@ struct noteram_get_taskname_s
* Name: noteram_register
*
* Description:
* Register RAM note driver at /dev/note that can be used by an
* Register RAM note driver at /dev/note/ram that can be used by an
* application to read note data from the circular note buffer.
*
* Input Parameters: