mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 12:45:22 +00:00
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>
22 lines
502 B
C
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_ */
|