spi: Compatibility with direction which is used in samsung DMA operation
authorKyoungil Kim <ki0351.kim@samsung.com>
Sat, 10 Mar 2012 00:48:46 +0000 (09:48 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 10 Mar 2012 04:09:10 +0000 (21:09 -0700)
commit054ebcc4a88509e2488f341e8f0400045258f2a1
tree6f9a4dea88fde10687200df6452f83ead9d3bc6d
parent0f57e168aa109775430c76cc663fb64909813d84
spi: Compatibility with direction which is used in samsung DMA operation

I found that there are two kind of direction type.
First one is dma_data_direction defined in include/linux/dma-direction.h.
It is used for parameter of dma_map/unmap_single in spi-s3c64xx.
The other one is dma_transter_direction defined in include/linux/dmaengine.h.
It is used for direction of samsung DMA operation
(arch/arm/plat-samsung/dma-ops.c).
This patch is just some changes to use direction defines
which is used in samsung DMA operation.

Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Kyoungil Kim <ki0351.kim@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-s3c64xx.c
This page took 0.025406 seconds and 5 git commands to generate.