dmaengine: shdma: Introduce include/linux/sh_dma.h
authorMagnus Damm <damm@opensource.se>
Fri, 19 Mar 2010 04:47:10 +0000 (04:47 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 23 Mar 2010 08:20:06 +0000 (17:20 +0900)
commitb2623a61cfd3c6badb8396dc85ab5a70f4a05f61
tree186d032c4005f37be7af1d657f193405cd7d3af3
parentf354a38175f5219146f4675dca770e114cf3c502
dmaengine: shdma: Introduce include/linux/sh_dma.h

Create a common platform data header file for the
shdma dmaengine driver. This is done by moving
common structures from sh asm/dmaengine.h to
linux/sh_dma.h. DMA registers are also copied from
sh asm/dma-register.h to make the code architecture
independent.

The sh header file asm/dmaengine.h is still kept
with the slave id enum. This allows us to keep the
old processor specific code as is and slowly move
over to slave id enums in per-processor headers.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dmaengine.h
drivers/dma/shdma.c
drivers/dma/shdma.h
include/linux/sh_dma.h [new file with mode: 0644]