aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/dw_dmac.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/dw_dmac.h b/include/linux/dw_dmac.h
index 64c76da571ef..3ba2f066ff46 100644
--- a/include/linux/dw_dmac.h
+++ b/include/linux/dw_dmac.h
@@ -53,6 +53,8 @@ enum dw_dma_slave_width {
53 * @reg_width: peripheral register width 53 * @reg_width: peripheral register width
54 * @cfg_hi: Platform-specific initializer for the CFG_HI register 54 * @cfg_hi: Platform-specific initializer for the CFG_HI register
55 * @cfg_lo: Platform-specific initializer for the CFG_LO register 55 * @cfg_lo: Platform-specific initializer for the CFG_LO register
56 * @src_master: src master for transfers on allocated channel.
57 * @dst_master: dest master for transfers on allocated channel.
56 */ 58 */
57struct dw_dma_slave { 59struct dw_dma_slave {
58 struct device *dma_dev; 60 struct device *dma_dev;
@@ -61,8 +63,8 @@ struct dw_dma_slave {
61 enum dw_dma_slave_width reg_width; 63 enum dw_dma_slave_width reg_width;
62 u32 cfg_hi; 64 u32 cfg_hi;
63 u32 cfg_lo; 65 u32 cfg_lo;
64 int src_master; 66 u8 src_master;
65 int dst_master; 67 u8 dst_master;
66}; 68};
67 69
68/* Platform-configurable bits in CFG_HI */ 70/* Platform-configurable bits in CFG_HI */