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

@ -5,7 +5,7 @@
*/
#include <syscall_handler.h>
#include <flash.h>
#include <drivers/flash.h>
Z_SYSCALL_HANDLER(flash_read, dev, offset, data, len)
{