From 2460ff4f789e0155392975067f1e63b58e65da8a Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Wed, 14 Dec 2022 12:53:09 +0800 Subject: [PATCH] drivers/note: rename /dev/note to /dev/note/ram Signed-off-by: yinshengkai --- drivers/note/noteram_driver.c | 4 ++-- include/nuttx/note/noteram_driver.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/note/noteram_driver.c b/drivers/note/noteram_driver.c index c09906773b..09a3ecf49b 100644 --- a/drivers/note/noteram_driver.c +++ b/drivers/note/noteram_driver.c @@ -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); } diff --git a/include/nuttx/note/noteram_driver.h b/include/nuttx/note/noteram_driver.h index 2b4bcacecf..784ecefb1f 100644 --- a/include/nuttx/note/noteram_driver.h +++ b/include/nuttx/note/noteram_driver.h @@ -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: