This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 126c93015f7bb7f72d674c75cc05113f4f686ec7
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sun Dec 11 20:55:08 2022 +0800

    drivers/node: Rename sched_note.c to to note_driver.c
    
    prepare to support the multiple note driver
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 drivers/note/Make.defs                       | 11 ++++-------
 drivers/note/{sched_note.c => note_driver.c} |  2 +-
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/drivers/note/Make.defs b/drivers/note/Make.defs
index 68755c7a33..3eb161053a 100644
--- a/drivers/note/Make.defs
+++ b/drivers/note/Make.defs
@@ -18,14 +18,11 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SCHED_INSTRUMENTATION),y)
-ifeq ($(CONFIG_SCHED_INSTRUMENTATION_EXTERNAL),)
-CSRCS += sched_note.c
-CFLAGS += ${INCDIR_PREFIX}${TOPDIR}/sched
-endif
-endif
-
 ifeq ($(CONFIG_DRIVER_NOTE),y)
+  ifeq ($(CONFIG_SCHED_INSTRUMENTATION_EXTERNAL),)
+    CSRCS += note_driver.c
+    CFLAGS += ${INCDIR_PREFIX}${TOPDIR}/sched
+  endif
   CSRCS += note_initialize.c
 endif
 
diff --git a/drivers/note/sched_note.c b/drivers/note/note_driver.c
similarity index 99%
rename from drivers/note/sched_note.c
rename to drivers/note/note_driver.c
index 4cbadae7dc..c8a83b58e6 100644
--- a/drivers/note/sched_note.c
+++ b/drivers/note/note_driver.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * drivers/note/sched_note.c
+ * drivers/note/note_driver.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with

Reply via email to