aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2012-08-07 19:12:05 +0900
committerBen Hutchings <ben@decadent.org.uk>2012-09-19 15:04:25 +0100
commitccd2951d12243c68b49654b14d54af7821c5eeaa (patch)
treeccf390fff1a21caf6ed08a38e349fcc979a95fbc /arch/arm/plat-s3c24xx
parent3d0292f5e659df73b893e3fa414d180a8ed5e562 (diff)
downloadkernel_samsung_smdk4412-ccd2951d12243c68b49654b14d54af7821c5eeaa.zip
kernel_samsung_smdk4412-ccd2951d12243c68b49654b14d54af7821c5eeaa.tar.gz
kernel_samsung_smdk4412-ccd2951d12243c68b49654b14d54af7821c5eeaa.tar.bz2
ARM: S3C24XX: Fix s3c2410_dma_enqueue parameters
commit b01858c7806e7e6f6121da2e51c9222fc4d21dc6 upstream. 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> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-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 8a90b6a..1eedf8d 100644
--- a/arch/arm/plat-s3c24xx/dma.c
+++ b/arch/arm/plat-s3c24xx/dma.c
@@ -431,7 +431,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);