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

@ -19,7 +19,7 @@
#include <device.h>
#include <init.h>
#include <drivers/dma.h>
#include <i2s.h>
#include <drivers/i2s.h>
#include <soc.h>
#include "i2s_cavs.h"

View file

@ -6,7 +6,7 @@
#include <kernel.h>
#include <string.h>
#include <i2s.h>
#include <drivers/i2s.h>
int z_impl_i2s_buf_read(struct device *dev, void *buf, size_t *size)
{

View file

@ -6,7 +6,7 @@
#include <kernel.h>
#include <syscall_handler.h>
#include <i2s.h>
#include <drivers/i2s.h>
Z_SYSCALL_HANDLER(i2s_configure, dev, dir, cfg_ptr)

View file

@ -6,7 +6,7 @@
#include <string.h>
#include <drivers/dma.h>
#include <i2s.h>
#include <drivers/i2s.h>
#include <soc.h>
#include <clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h>

View file

@ -24,7 +24,7 @@
#include <device.h>
#include <init.h>
#include <drivers/dma.h>
#include <i2s.h>
#include <drivers/i2s.h>
#include <soc.h>
#define LOG_DOMAIN dev_i2s_sam_ssc