summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2012-08-07 19:12:05 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-08-08 09:04:51 +0900
commitb01858c7806e7e6f6121da2e51c9222fc4d21dc6 (patch)
tree0b540f22e3e3caaabafc66730bc722a0d184af91 /arch
parente1267371eacf2cbcf580e41f9e64a986cdaf5c1d (diff)
downloadlinux-3.10-b01858c7806e7e6f6121da2e51c9222fc4d21dc6.tar.gz
linux-3.10-b01858c7806e7e6f6121da2e51c9222fc4d21dc6.tar.bz2
linux-3.10-b01858c7806e7e6f6121da2e51c9222fc4d21dc6.zip
ARM: S3C24XX: Fix s3c2410_dma_enqueue parameters
Commit d670ac019f60 (ARM: SAMSUNG: DMA Cleanup as per sparse) changed the prototype of the s3c2410_dma_* functions to use the enum dma_ch instead of an generic unsigned int. In the s3c24xx dma.c s3c2410_dma_enqueue seems to have been forgotten, the other functions there were changed correctly. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Cc: Stable <stable@vger.kernel.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-s3c24xx/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c
index 28f898f7538..db98e7021f0 100644
--- a/arch/arm/plat-s3c24xx/dma.c
+++ b/arch/arm/plat-s3c24xx/dma.c
@@ -430,7 +430,7 @@ s3c2410_dma_canload(struct s3c2410_dma_chan *chan)
* when necessary.
*/
-int s3c2410_dma_enqueue(unsigned int channel, void *id,
+int s3c2410_dma_enqueue(enum dma_ch channel, void *id,
dma_addr_t data, int size)
{
struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);