cleanup: include/: move disk_access.h to disk/disk_access.h

move disk_access.h to disk/disk_access.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:07 -04:00
commit f641d099cc
9 changed files with 142 additions and 127 deletions

View file

@ -9,7 +9,7 @@
#include <misc/__assert.h>
#include <misc/util.h>
#include <init.h>
#include <disk_access.h>
#include <disk/disk_access.h>
#include <errno.h>
#include <device.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/types.h>
#include <misc/__assert.h>
#include <misc/util.h>
#include <disk_access.h>
#include <disk/disk_access.h>
#include <errno.h>
#include <init.h>
#include <device.h>

View file

@ -7,7 +7,7 @@
#include <string.h>
#include <zephyr/types.h>
#include <misc/__assert.h>
#include <disk_access.h>
#include <disk/disk_access.h>
#include <errno.h>
#include <init.h>
#include <device.h>

View file

@ -8,7 +8,7 @@
LOG_MODULE_REGISTER(sdhc, CONFIG_DISK_LOG_LEVEL);
#include <disk_access.h>
#include <disk/disk_access.h>
#include <gpio.h>
#include <misc/byteorder.h>
#include <spi.h>