aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/shdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r--drivers/dma/shdma.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h
index 800fd884be83..9f0897f7fe34 100644
--- a/drivers/dma/shdma.h
+++ b/drivers/dma/shdma.h
@@ -17,6 +17,8 @@
17#include <linux/interrupt.h> 17#include <linux/interrupt.h>
18#include <linux/list.h> 18#include <linux/list.h>
19 19
20#include <asm/dmaengine.h>
21
20#define SH_DMA_TCR_MAX 0x00FFFFFF /* 16MB */ 22#define SH_DMA_TCR_MAX 0x00FFFFFF /* 16MB */
21 23
22struct sh_dmae_regs { 24struct sh_dmae_regs {
@@ -55,7 +57,7 @@ struct sh_dmae_chan {
55 57
56struct sh_dmae_device { 58struct sh_dmae_device {
57 struct dma_device common; 59 struct dma_device common;
58 struct sh_dmae_chan *chan[MAX_DMA_CHANNELS]; 60 struct sh_dmae_chan *chan[SH_DMAC_MAX_CHANNELS];
59 struct sh_dmae_pdata *pdata; 61 struct sh_dmae_pdata *pdata;
60 u32 __iomem *chan_reg; 62 u32 __iomem *chan_reg;
61 u16 __iomem *dmars; 63 u16 __iomem *dmars;