zephyr/include/i2s.h
Anas Nashif f2e35134b0 cleanup: include/: move i2s.h to drivers/i2s.h
move i2s.h to drivers/i2s.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>
2019-06-27 22:55:49 -04:00

16 lines
322 B
C

/*
* Copyright (c) 2019 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_I2S_H_
#define ZEPHYR_INCLUDE_I2S_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <drivers/i2s.h> instead."
#endif
#include <drivers/i2s.h>
#endif /* ZEPHYR_INCLUDE_I2S_H_ */