diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-02-01 11:42:28 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-02-22 13:45:39 +0100 |
commit | a1c46016794fdd83b7993303915ec7f4a06682b7 (patch) | |
tree | 92b11c6c5e156025eacdc11110e4d8f15f3c8b13 /drivers/dma/dw_dmac_regs.h | |
parent | dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes (diff) | |
download | linux-a1c46016794fdd83b7993303915ec7f4a06682b7.tar.xz linux-a1c46016794fdd83b7993303915ec7f4a06682b7.zip |
dmaengine/dw_dmac: Remove unused fields in struct dw_dma_slave
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r-- | drivers/dma/dw_dmac_regs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h index 2005d301803d..eec0481a12f7 100644 --- a/drivers/dma/dw_dmac_regs.h +++ b/drivers/dma/dw_dmac_regs.h @@ -13,6 +13,18 @@ #define DW_DMA_MAX_NR_CHANNELS 8 +/* flow controller */ +enum dw_dma_fc { + DW_DMA_FC_D_M2M, + DW_DMA_FC_D_M2P, + DW_DMA_FC_D_P2M, + DW_DMA_FC_D_P2P, + DW_DMA_FC_P_P2M, + DW_DMA_FC_SP_P2P, + DW_DMA_FC_P_M2P, + DW_DMA_FC_DP_P2P, +}; + /* * Redefine this macro to handle differences between 32- and 64-bit * addressing, big vs. little endian, etc. |