diff options
author | Boojin Kim <boojin.kim@samsung.com> | 2011-09-01 20:44:44 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-09-14 01:40:04 -0400 |
commit | 51ddf31da16b1ab9da861eafedad6d263faf4388 (patch) | |
tree | 24d7106ef61ba97e96654c4904cff2167332d1ac /arch/arm/mach-s3c2412 | |
parent | 344b4c48887a443f7478fc7047d1397b20821ed3 (diff) |
ARM: SAMSUNG: Remove Samsung specific enum type for dma direction
This patch removes the samsung specific enum type 's3c2410_dmasrc'
and uses 'dma_data_direction' instead.
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/mach-s3c2412')
-rw-r--r-- | arch/arm/mach-s3c2412/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2412/dma.c b/arch/arm/mach-s3c2412/dma.c index 7abecfca0b7e..b4fc3ba367d6 100644 --- a/arch/arm/mach-s3c2412/dma.c +++ b/arch/arm/mach-s3c2412/dma.c | |||
@@ -148,11 +148,11 @@ static struct s3c24xx_dma_map __initdata s3c2412_dma_mappings[] = { | |||
148 | 148 | ||
149 | static void s3c2412_dma_direction(struct s3c2410_dma_chan *chan, | 149 | static void s3c2412_dma_direction(struct s3c2410_dma_chan *chan, |
150 | struct s3c24xx_dma_map *map, | 150 | struct s3c24xx_dma_map *map, |
151 | enum s3c2410_dmasrc dir) | 151 | enum dma_data_direction dir) |
152 | { | 152 | { |
153 | unsigned long chsel; | 153 | unsigned long chsel; |
154 | 154 | ||
155 | if (dir == S3C2410_DMASRC_HW) | 155 | if (dir == DMA_FROM_DEVICE) |
156 | chsel = map->channels_rx[0]; | 156 | chsel = map->channels_rx[0]; |
157 | else | 157 | else |
158 | chsel = map->channels[0]; | 158 | chsel = map->channels[0]; |