diff --git a/drivers/note/noteram_driver.c b/drivers/note/noteram_driver.c index c09906773b3..09a3ecf49b1 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 2b4bcacecf4..784ecefb1fd 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: