zephyr/include/disk/disk_access.h
Kumar Gala 6c3fecd0a3 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>
2021-03-26 08:59:47 -04:00

22 lines
502 B
C

/*
* Copyright (c) 2016 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* The header was moved to include/storage/disk_access.h
* This header is deprecated and there for compatibility.
*/
#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_ */