aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/dma-dw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/dma-dw.h')
-rw-r--r--include/linux/platform_data/dma-dw.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/platform_data/dma-dw.h b/include/linux/platform_data/dma-dw.h
index 68b4024184de..bc411a1bf8e7 100644
--- a/include/linux/platform_data/dma-dw.h
+++ b/include/linux/platform_data/dma-dw.h
@@ -17,17 +17,15 @@
17 * struct dw_dma_slave - Controller-specific information about a slave 17 * struct dw_dma_slave - Controller-specific information about a slave
18 * 18 *
19 * @dma_dev: required DMA master device. Depricated. 19 * @dma_dev: required DMA master device. Depricated.
20 * @bus_id: name of this device channel, not just a device name since 20 * @src_id: src request line
21 * devices may have more than one channel e.g. "foo_tx" 21 * @dst_id: dst request line
22 * @cfg_hi: Platform-specific initializer for the CFG_HI register
23 * @cfg_lo: Platform-specific initializer for the CFG_LO register
24 * @src_master: src master for transfers on allocated channel. 22 * @src_master: src master for transfers on allocated channel.
25 * @dst_master: dest master for transfers on allocated channel. 23 * @dst_master: dest master for transfers on allocated channel.
26 */ 24 */
27struct dw_dma_slave { 25struct dw_dma_slave {
28 struct device *dma_dev; 26 struct device *dma_dev;
29 u32 cfg_hi; 27 u8 src_id;
30 u32 cfg_lo; 28 u8 dst_id;
31 u8 src_master; 29 u8 src_master;
32 u8 dst_master; 30 u8 dst_master;
33}; 31};