power: move reboot functionality to os lib

Reboot functionality has nothing to do with PM, so move it out to the
subsys/os folder.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-27 11:56:39 +02:00 committed by Anas Nashif
commit f163bdb280
22 changed files with 31 additions and 30 deletions

View file

@ -8,11 +8,11 @@
* @file
* @brief Common target reboot functionality
*
* @details See misc/Kconfig and the reboot help for details.
* @details See subsys/os/Kconfig and the reboot help for details.
*/
#ifndef ZEPHYR_INCLUDE_POWER_REBOOT_H_
#define ZEPHYR_INCLUDE_POWER_REBOOT_H_
#ifndef ZEPHYR_INCLUDE_SYS_REBOOT_H_
#define ZEPHYR_INCLUDE_SYS_REBOOT_H_
#ifdef __cplusplus
extern "C" {
@ -39,4 +39,4 @@ extern void sys_reboot(int type);
}
#endif
#endif /* ZEPHYR_INCLUDE_POWER_REBOOT_H_ */
#endif /* ZEPHYR_INCLUDE_SYS_REBOOT_H_ */