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:
parent
4e48e87fd2
commit
f641d099cc
9 changed files with 142 additions and 127 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue