]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c7a9ea99faf8021ecbd03048c807801c63e1ddd
tree43bdce92d0c6c6a34aea44cc764051cecb705fd2
parent54371de93b54d3a3af99524854dcbc6262bcde6b
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