summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2412
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-10-04 09:57:38 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2011-10-04 09:57:38 (GMT)
commit59ca37f74a6e9d3e9367359f2fcbb286df7d9748 (patch)
treecbc0254ef952f10e99e384b56ccc7b81389e335e /arch/arm/mach-s3c2412
parent7d84b3e93757fe871d57b43c422b81cc8b94057a (diff)
parentc9312209aa9fdef05b03d63bbead63bb720fd133 (diff)
downloadlinux-fsl-qoriq-59ca37f74a6e9d3e9367359f2fcbb286df7d9748.tar.xz
Merge branch 'next/topic-dma-samsung' into next-samsung-devel
Diffstat (limited to 'arch/arm/mach-s3c2412')
-rw-r--r--arch/arm/mach-s3c2412/dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2412/dma.c b/arch/arm/mach-s3c2412/dma.c
index 7abecfc..b4fc3ba 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[] = {
static void s3c2412_dma_direction(struct s3c2410_dma_chan *chan,
struct s3c24xx_dma_map *map,
- enum s3c2410_dmasrc dir)
+ enum dma_data_direction dir)
{
unsigned long chsel;
- if (dir == S3C2410_DMASRC_HW)
+ if (dir == DMA_FROM_DEVICE)
chsel = map->channels_rx[0];
else
chsel = map->channels[0];