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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h
index 4d02c3669b75..9d417200bd57 100644
--- a/drivers/dma/dw_dmac_regs.h
+++ b/drivers/dma/dw_dmac_regs.h
@@ -212,8 +212,11 @@ struct dw_dma_chan {
212 /* hardware configuration */ 212 /* hardware configuration */
213 unsigned int block_size; 213 unsigned int block_size;
214 bool nollp; 214 bool nollp;
215
216 /* custom slave configuration */
215 unsigned int request_line; 217 unsigned int request_line;
216 struct dw_dma_slave slave; 218 unsigned char src_master;
219 unsigned char dst_master;
217 220
218 /* configuration passed via DMA_SLAVE_CONFIG */ 221 /* configuration passed via DMA_SLAVE_CONFIG */
219 struct dma_slave_config dma_sconfig; 222 struct dma_slave_config dma_sconfig;
@@ -247,7 +250,6 @@ struct dw_dma {
247 /* hardware configuration */ 250 /* hardware configuration */
248 unsigned char nr_masters; 251 unsigned char nr_masters;
249 unsigned char data_width[4]; 252 unsigned char data_width[4];
250 unsigned int request_line_base;
251 253
252 struct dw_dma_chan chan[0]; 254 struct dw_dma_chan chan[0];
253}; 255};