ARM: ux500: Remove recently unused stedma40_xfer_dir enums
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:55 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:08 +0000 (11:12 +0200)
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>
include/linux/platform_data/dma-ste-dma40.h

index 288dc2420ee6a3a7fb1e1f88c9ee7199c9da2330..54ddca615cb4ed1ed739cbe475e2c151e5ccd567 100644 (file)
@@ -77,14 +77,6 @@ enum stedma40_periph_data_width {
        STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT
 };
 
-enum stedma40_xfer_dir {
-       STEDMA40_MEM_TO_MEM = 1,
-       STEDMA40_MEM_TO_PERIPH,
-       STEDMA40_PERIPH_TO_MEM,
-       STEDMA40_PERIPH_TO_PERIPH
-};
-
-
 /**
  * struct stedma40_half_channel_info - dst/src channel configuration
  *
@@ -120,7 +112,7 @@ struct stedma40_half_channel_info {
  *
  */
 struct stedma40_chan_cfg {
-       enum stedma40_xfer_dir                   dir;
+       enum dma_transfer_direction              dir;
        bool                                     high_priority;
        bool                                     realtime;
        enum stedma40_mode                       mode;