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:
parent
0f19812ce0
commit
f163bdb280
22 changed files with 31 additions and 30 deletions
|
@ -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_ */
|
Loading…
Add table
Add a link
Reference in a new issue