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

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


The following commit(s) were added to refs/heads/master by this push:
     new 414491e340 pm: Let PM_PROCFS depend on FS_PROCFS_REGISTER
414491e340 is described below

commit 414491e34088b2d9c0cde1a6889a51a7b395ce29
Author: Xiang Xiao <[email protected]>
AuthorDate: Wed Sep 20 07:02:20 2023 +0800

    pm: Let PM_PROCFS depend on FS_PROCFS_REGISTER
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig | 1 +
 drivers/power/pm/Kconfig                                  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig 
b/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig
index c3e5e9050c..607589c253 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig
@@ -21,6 +21,7 @@ CONFIG_BOARD_LOOPSPERMSEC=15000
 CONFIG_BUILTIN=y
 CONFIG_DEV_ZERO=y
 CONFIG_FS_PROCFS=y
+CONFIG_FS_PROCFS_REGISTER=y
 CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
diff --git a/drivers/power/pm/Kconfig b/drivers/power/pm/Kconfig
index 58c65f7a71..fb2447da87 100644
--- a/drivers/power/pm/Kconfig
+++ b/drivers/power/pm/Kconfig
@@ -26,6 +26,7 @@ config PM_NDOMAINS
 
 config PM_PROCFS
        bool "PM proc fs support"
+       depends on FS_PROCFS_REGISTER
        ---help---
                Enable procfs for pm.
 

Reply via email to