aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-15 05:51:55 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-04 05:12:08 -0400
commite7bab58b73a653d4c226b11ead07fd30ffaea914 (patch)
tree566849625d99a31e84eef2b2d9b60f186834efbe
parent2c2b62d5d911da10c0fc37c31458baf4047d531c (diff)
ARM: ux500: Remove recently unused stedma40_xfer_dir enums
We're now using the transfer direction definitions provided by the DMA sub-system, so the home-brew ones have become obsolete. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--include/linux/platform_data/dma-ste-dma40.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h
index 288dc2420ee6..54ddca615cb4 100644
--- a/include/linux/platform_data/dma-ste-dma40.h
+++ b/include/linux/platform_data/dma-ste-dma40.h
@@ -77,14 +77,6 @@ enum stedma40_periph_data_width {
77 STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT 77 STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT
78}; 78};
79 79
80enum stedma40_xfer_dir {
81 STEDMA40_MEM_TO_MEM = 1,
82 STEDMA40_MEM_TO_PERIPH,
83 STEDMA40_PERIPH_TO_MEM,
84 STEDMA40_PERIPH_TO_PERIPH
85};
86
87
88/** 80/**
89 * struct stedma40_half_channel_info - dst/src channel configuration 81 * struct stedma40_half_channel_info - dst/src channel configuration
90 * 82 *
@@ -120,7 +112,7 @@ struct stedma40_half_channel_info {
120 * 112 *
121 */ 113 */
122struct stedma40_chan_cfg { 114struct stedma40_chan_cfg {
123 enum stedma40_xfer_dir dir; 115 enum dma_transfer_direction dir;
124 bool high_priority; 116 bool high_priority;
125 bool realtime; 117 bool realtime;
126 enum stedma40_mode mode; 118 enum stedma40_mode mode;