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:
Kumar Gala 2021-03-24 09:05:21 -05:00 committed by Anas Nashif
commit 6c3fecd0a3

View file

@ -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_ */