cleanup: include/: move dma.h to drivers/dma.h

move dma.h to drivers/dma.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:48 -04:00
commit 46a5d1e5cb
20 changed files with 413 additions and 398 deletions

View file

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

View file

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

View file

@ -23,7 +23,7 @@
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <dma.h>
#include <drivers/dma.h>
#include <i2s.h>
#include <soc.h>