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

move power.h to power/power.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-25 12:26:13 -04:00
commit 190e368275
30 changed files with 356 additions and 341 deletions

View file

@ -13,7 +13,7 @@ LOG_MODULE_REGISTER(rtc_mcux);
#include <init.h>
#include <kernel.h>
#include <rtc.h>
#include <power.h>
#include <power/power.h>
#include <soc.h>
#include <misc/util.h>
#include <fsl_rtc.h>