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
|
@ -10,7 +10,7 @@
|
|||
#ifdef CONFIG_USERSPACE
|
||||
#include <sys/libc-hooks.h>
|
||||
#endif
|
||||
#include <power/reboot.h>
|
||||
#include <sys/reboot.h>
|
||||
|
||||
#ifdef KERNEL
|
||||
static struct k_thread ztest_thread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue