aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/dma.h
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-05-17 10:35:29 +0900
committerBen Dooks <ben-linux@fluff.org>2010-05-17 16:43:49 +0900
commit14894b9b8317d9a337bba55998fdef1c9b2dc63d (patch)
tree2a61d1fc27a57a1d24407d37f95518b3c206a82f /arch/arm/plat-samsung/include/plat/dma.h
parentMerge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 (diff)
downloadlinux-dev-14894b9b8317d9a337bba55998fdef1c9b2dc63d.tar.xz
linux-dev-14894b9b8317d9a337bba55998fdef1c9b2dc63d.zip
S3C: DMA: Change argument of s3c2410_dma_devconfig
All other functions have the channel argument of type 'unsigned int' the s3c2410_dma_devconfig also accept the same value as argument but treat it as type 'int'. Remove this anomaly by make it 'unsigned int'. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/dma.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/dma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma.h b/arch/arm/plat-samsung/include/plat/dma.h
index 7584d751ed51..2e8f8c6560d7 100644
--- a/arch/arm/plat-samsung/include/plat/dma.h
+++ b/arch/arm/plat-samsung/include/plat/dma.h
@@ -110,8 +110,8 @@ extern int s3c2410_dma_config(unsigned int channel, int xferunit);
* configure the device we're talking to
*/
-extern int s3c2410_dma_devconfig(int channel, enum s3c2410_dmasrc source,
- unsigned long devaddr);
+extern int s3c2410_dma_devconfig(unsigned int channel,
+ enum s3c2410_dmasrc source, unsigned long devaddr);
/* s3c2410_dma_getposition
*