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

@ -6,7 +6,7 @@
#include <device.h>
#include <soc.h>
#include <dma.h>
#include <drivers/dma.h>
#include <logging/log.h>
LOG_MODULE_REGISTER(dma_sam0, CONFIG_DMA_LOG_LEVEL);