summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-02-26 11:44:28 +0800
committerShawn Guo <shawn.guo@linaro.org>2013-04-04 21:22:45 +0800
commit5fac0e18bd3dbd7e23276efa0e5d2b945b1165e8 (patch)
treedadf4b3c3d138fcfb7274b26f963035d6b76626a /drivers/mtd/nand/gpmi-nand/gpmi-nand.h
parente5aba13da0cc598a5573ea059717949fbd7536ad (diff)
downloadop-kernel-dev-5fac0e18bd3dbd7e23276efa0e5d2b945b1165e8.zip
op-kernel-dev-5fac0e18bd3dbd7e23276efa0e5d2b945b1165e8.tar.gz
mtd: gpmi: move to use generic DMA helper
With the generic DMA device tree helper supported by mxs-dma driver, client devices only need to call dma_request_slave_channel() for requesting a DMA channel from dmaengine. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/mtd/nand/gpmi-nand/gpmi-nand.h')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
index 0729477..a7685e3 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
@@ -20,7 +20,7 @@
#include <linux/mtd/nand.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
-#include <linux/fsl/mxs-dma.h>
+#include <linux/dmaengine.h>
#define GPMI_CLK_MAX 5 /* MX6Q needs five clocks */
struct resources {
@@ -180,7 +180,6 @@ struct gpmi_nand_data {
/* DMA channels */
#define DMA_CHANS 8
struct dma_chan *dma_chans[DMA_CHANS];
- struct mxs_dma_data dma_data;
enum dma_ops_type last_dma_type;
enum dma_ops_type dma_type;
struct completion dma_done;
OpenPOWER on IntegriCloud