cleanup: include/: move flash.h to drivers/flash.h

move flash.h to drivers/flash.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 15:53:50 -04:00
commit fe051a9055
50 changed files with 335 additions and 320 deletions

View file

@ -11,7 +11,7 @@
#include <sys/types.h>
#include <device.h>
#include <storage/flash_map.h>
#include <flash.h>
#include <drivers/flash.h>
#include <soc.h>
#include <init.h>