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>
This commit is contained in:
Anas Nashif 2019-06-25 15:53:54 -04:00
commit f2e35134b0
16 changed files with 547 additions and 532 deletions

View file

@ -14,7 +14,7 @@
#ifndef ZEPHYR_INCLUDE_AUDIO_CODEC_H_
#define ZEPHYR_INCLUDE_AUDIO_CODEC_H_
#include <i2s.h>
#include <drivers/i2s.h>
#ifdef __cplusplus
extern "C" {