aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r--drivers/dma/dw_dmac_regs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h
index 2a1cc533f0c8..06f03914f022 100644
--- a/drivers/dma/dw_dmac_regs.h
+++ b/drivers/dma/dw_dmac_regs.h
@@ -198,6 +198,9 @@ struct dw_dma_chan {
198 198
199 /* configuration passed via DMA_SLAVE_CONFIG */ 199 /* configuration passed via DMA_SLAVE_CONFIG */
200 struct dma_slave_config dma_sconfig; 200 struct dma_slave_config dma_sconfig;
201
202 /* backlink to dw_dma */
203 struct dw_dma *dw;
201}; 204};
202 205
203static inline struct dw_dma_chan_regs __iomem * 206static inline struct dw_dma_chan_regs __iomem *
@@ -224,6 +227,10 @@ struct dw_dma {
224 227
225 u8 all_chan_mask; 228 u8 all_chan_mask;
226 229
230 /* hardware configuration */
231 unsigned char nr_masters;
232 unsigned char data_width[4];
233
227 struct dw_dma_chan chan[0]; 234 struct dw_dma_chan chan[0];
228}; 235};
229 236