drivers/note: rename /dev/note to /dev/note/ram
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
949a0d6032
commit
2460ff4f78
@ -881,7 +881,7 @@ void sched_note_add(FAR const void *note, size_t notelen)
|
|||||||
* Name: noteram_register
|
* Name: noteram_register
|
||||||
*
|
*
|
||||||
* Description:
|
* 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.
|
* application to read data from the circular note buffer.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
@ -894,5 +894,5 @@ void sched_note_add(FAR const void *note, size_t notelen)
|
|||||||
|
|
||||||
int noteram_register(void)
|
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);
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ struct noteram_get_taskname_s
|
|||||||
* Name: noteram_register
|
* Name: noteram_register
|
||||||
*
|
*
|
||||||
* Description:
|
* 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.
|
* application to read note data from the circular note buffer.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user