include: disk_access: Add a compat warning
disk/disk_access.h got moved, but there is no compat warning. Add that so users know they need to update code. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
0c6ccc0941
commit
6c3fecd0a3
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@
|
|||
#ifndef ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_
|
||||
#define ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_
|
||||
|
||||
#ifndef CONFIG_COMPAT_INCLUDES
|
||||
#warning "This header file has moved, include <storage/disk_access.h> instead."
|
||||
#endif
|
||||
|
||||
#include <storage/disk_access.h>
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue