ARM: SAMSUNG: DMA Cleanup as per sparse
authorSangwook Lee <sangwook.lee@linaro.org>
Sat, 16 Jul 2011 06:50:19 +0000 (15:50 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 16 Jul 2011 06:50:19 +0000 (15:50 +0900)
commitd670ac019f60e4932ba329bb0800bf2929e6d77c
tree43bdce92d0c6c6a34aea44cc764051cecb705fd2
parent691abd0abf8fd496c96fdb5b4fb64721f02aa513
ARM: SAMSUNG: DMA Cleanup as per sparse

Function declaration differs between file: dma.c and file:dma.h
and SPARSE (Documentation/sparse.txt) gives error messages

All dma channels are members of 'enum dma_ch' and not 'unsigned int'
Please have a look at channel definitions in:
arch/arm/mach-s3c64xx/include/mach/dma.h
arch/arm/plat-samsung/include/plat/s3c-dma-pl330.h
arch/arm/mach-s3c2410/include/mach/dma.h
So all arguments should be of type 'enum dma_ch'

Signed-off-by: Sangwook Lee <sangwook.lee@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/dma.c
arch/arm/plat-s3c24xx/dma.c
arch/arm/plat-samsung/dma.c
arch/arm/plat-samsung/include/plat/dma.h