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

@ -9,7 +9,7 @@
#include <shell/shell.h>
#include <init.h>
#include <debug/object_tracing.h>
#include <misc/reboot.h>
#include <power/reboot.h>
#include <debug/stack.h>
#include <string.h>
#include <device.h>