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
|
@ -14,7 +14,7 @@
|
|||
#include <soc.h>
|
||||
#include <drivers/watchdog.h>
|
||||
#include <sys/printk.h>
|
||||
#include <power/reboot.h>
|
||||
#include <sys/reboot.h>
|
||||
|
||||
struct wdog_cmsdk_apb {
|
||||
/* offset: 0x000 (r/w) watchdog load register */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue