diff options
author | Hongbo Zhang <hongbo.zhang@freescale.com> | 2013-09-26 05:33:43 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-11-13 03:56:27 -0500 |
commit | 8de7a7d95049bdbe454ade7add08d893efe5a456 (patch) | |
tree | 218e7b1f3982f57470ad8e519f3be9ae356a5bec /drivers/dma/fsldma.h | |
parent | 03aa254f1e3c3d902cd68763f8abc2387e82b4da (diff) |
DMA: Freescale: update driver to support 8-channel DMA engine
This patch adds support to 8-channel DMA engine, thus the driver works for both
the new 8-channel and the legacy 4-channel DMA engines.
Signed-off-by: Hongbo Zhang <hongbo.zhang@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.h')
-rw-r--r-- | drivers/dma/fsldma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.h b/drivers/dma/fsldma.h index f5c38791fc74..1ffc24484d23 100644 --- a/drivers/dma/fsldma.h +++ b/drivers/dma/fsldma.h | |||
@@ -112,7 +112,7 @@ struct fsldma_chan_regs { | |||
112 | }; | 112 | }; |
113 | 113 | ||
114 | struct fsldma_chan; | 114 | struct fsldma_chan; |
115 | #define FSL_DMA_MAX_CHANS_PER_DEVICE 4 | 115 | #define FSL_DMA_MAX_CHANS_PER_DEVICE 8 |
116 | 116 | ||
117 | struct fsldma_device { | 117 | struct fsldma_device { |
118 | void __iomem *regs; /* DGSR register base */ | 118 | void __iomem *regs; /* DGSR register base */ |