diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-03-03 15:47:23 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-03-07 01:12:28 +0530 |
commit | 59c22fc11d12b69da36c6585a38229863ba0bb16 (patch) | |
tree | 9c39bb6032e724142d6f7de643149f5858ac7a11 /include/linux/dw_dmac.h | |
parent | 93317e8e35b77633d589fe0e132291195757d785 (diff) | |
download | talos-obmc-linux-59c22fc11d12b69da36c6585a38229863ba0bb16.tar.gz talos-obmc-linux-59c22fc11d12b69da36c6585a38229863ba0bb16.zip |
dw_dmac: Changing type of src_master and dest_master to u8.
src_master & dest_master don't required u32 as they have values limited to u8
only. Also their description is missing from doc style comment. This patch
fixes above mentioned issues.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dw_dmac.h')
-rw-r--r-- | include/linux/dw_dmac.h | 6 |
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 { * @reg_width: peripheral register width * @cfg_hi: Platform-specific initializer for the CFG_HI register * @cfg_lo: Platform-specific initializer for the CFG_LO register + * @src_master: src master for transfers on allocated channel. + * @dst_master: dest master for transfers on allocated channel. */ struct dw_dma_slave { struct device *dma_dev; @@ -61,8 +63,8 @@ struct dw_dma_slave { enum dw_dma_slave_width reg_width; u32 cfg_hi; u32 cfg_lo; - int src_master; - int dst_master; + u8 src_master; + u8 dst_master; }; /* Platform-configurable bits in CFG_HI */ |