Commit 39468604 authored by Huang Shijie's avatar Huang Shijie Committed by David Woodhouse

mxs-dma : move the mxs dma.h to a more common place

Move the header to a more common place.
The mxs dma engine is not only used in mx23/mx28, but also used
in mx50/mx6q.  It will also be used in the future chips.

Rename it to mxs-dma.h, and create a new folder include/linux/fsl/ to
store the Freescale's header files.

change mxs-dma driver, mxs-mmc driver, gpmi-nand driver, mxs-saif driver
to the new header file.
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarHuang Shijie <b32955@freescale.com>
Acked-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
Acked-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 273a65ad
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/dmaengine.h> #include <linux/dmaengine.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/fsl/mxs-dma.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/mxs.h> #include <mach/mxs.h>
#include <mach/dma.h>
#include <mach/common.h> #include <mach/common.h>
/* /*
......
...@@ -38,10 +38,10 @@ ...@@ -38,10 +38,10 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/fsl/mxs-dma.h>
#include <mach/mxs.h> #include <mach/mxs.h>
#include <mach/common.h> #include <mach/common.h>
#include <mach/dma.h>
#include <mach/mmc.h> #include <mach/mmc.h>
#define DRIVER_NAME "mxs-mmc" #define DRIVER_NAME "mxs-mmc"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/mtd/nand.h> #include <linux/mtd/nand.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <mach/dma.h> #include <linux/fsl/mxs-dma.h>
struct resources { struct resources {
void *gpmi_regs; void *gpmi_regs;
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/dmaengine.h> #include <linux/dmaengine.h>
#include <linux/fsl/mxs-dma.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/initval.h> #include <sound/initval.h>
...@@ -35,7 +36,6 @@ ...@@ -35,7 +36,6 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <mach/dma.h>
#include "mxs-pcm.h" #include "mxs-pcm.h"
static struct snd_pcm_hardware snd_mxs_hardware = { static struct snd_pcm_hardware snd_mxs_hardware = {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifndef _MXS_PCM_H #ifndef _MXS_PCM_H
#define _MXS_PCM_H #define _MXS_PCM_H
#include <mach/dma.h> #include <linux/fsl/mxs-dma.h>
struct mxs_pcm_dma_params { struct mxs_pcm_dma_params {
int chan_irq; int chan_irq;
......
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/fsl/mxs-dma.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/pcm.h> #include <sound/pcm.h>
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <sound/saif.h> #include <sound/saif.h>
#include <mach/dma.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/mxs.h> #include <mach/mxs.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment