diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-05-16 21:35:29 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-17 03:43:49 -0400 |
commit | 14894b9b8317d9a337bba55998fdef1c9b2dc63d (patch) | |
tree | 2a61d1fc27a57a1d24407d37f95518b3c206a82f /arch/arm/mach-s3c64xx/dma.c | |
parent | 7ebd467551ed6ae200d7835a84bbda0dcadaa511 (diff) |
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/mach-s3c64xx/dma.c')
-rw-r--r-- | arch/arm/mach-s3c64xx/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/dma.c b/arch/arm/mach-s3c64xx/dma.c index 33ccf7bf766a..5567e037b0d1 100644 --- a/arch/arm/mach-s3c64xx/dma.c +++ b/arch/arm/mach-s3c64xx/dma.c | |||
@@ -414,7 +414,7 @@ err_buff: | |||
414 | EXPORT_SYMBOL(s3c2410_dma_enqueue); | 414 | EXPORT_SYMBOL(s3c2410_dma_enqueue); |
415 | 415 | ||
416 | 416 | ||
417 | int s3c2410_dma_devconfig(int channel, | 417 | int s3c2410_dma_devconfig(unsigned int channel, |
418 | enum s3c2410_dmasrc source, | 418 | enum s3c2410_dmasrc source, |
419 | unsigned long devaddr) | 419 | unsigned long devaddr) |
420 | { | 420 | { |