Skip to content

Commit

Permalink
power: move reboot.c to subsys/power
Browse files Browse the repository at this point in the history
One of the few last files in misc/. It fits better under subsys/power.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Jan 22, 2019
1 parent db92e5c commit feadb53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion misc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
zephyr_sources_if_kconfig(printk.c)
zephyr_sources_if_kconfig(reboot.c)
2 changes: 1 addition & 1 deletion subsys/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ add_subdirectory_ifdef(CONFIG_USB usb)
add_subdirectory(random)
add_subdirectory(storage)
add_subdirectory_ifdef(CONFIG_SETTINGS settings)
add_subdirectory_ifdef(CONFIG_PM_CONTROL_OS power)
add_subdirectory(fb)
add_subdirectory(power)
add_subdirectory(stats)
5 changes: 3 additions & 2 deletions subsys/power/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
zephyr_sources(
zephyr_sources_ifdef(CONFIG_PM_CONTROL_OS
power.c
device.c
)
zephyr_sources_ifdef(CONFIG_PM_CONTROL_STATE_LOCK pm_ctrl.c)
add_subdirectory(policy)
add_subdirectory_ifdef(CONFIG_PM_CONTROL_OS policy)
zephyr_sources_if_kconfig(reboot.c)
File renamed without changes.

0 comments on commit feadb53

Please sign in to comment.