cleanup: include/: move misc/reboot.h to power/reboot.h

move misc/reboot.h to power/reboot.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-26 10:44:43 -04:00
commit 5b0aa794b2
12 changed files with 56 additions and 41 deletions

View file

@ -12,7 +12,7 @@
#include <soc.h>
#include <drivers/watchdog.h>
#include <sys/printk.h>
#include <misc/reboot.h>
#include <power/reboot.h>
struct wdog_cmsdk_apb {
/* offset: 0x000 (r/w) watchdog load register */