diff options
author | Magnus Damm <damm@opensource.se> | 2010-03-19 00:47:10 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 04:20:06 -0400 |
commit | b2623a61cfd3c6badb8396dc85ab5a70f4a05f61 (patch) | |
tree | 186d032c4005f37be7af1d657f193405cd7d3af3 /drivers/dma/shdma.c | |
parent | f354a38175f5219146f4675dca770e114cf3c502 (diff) |
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>
Diffstat (limited to 'drivers/dma/shdma.c')
-rw-r--r-- | drivers/dma/shdma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c index 83605389fb56..7a18b580f626 100644 --- a/drivers/dma/shdma.c +++ b/drivers/dma/shdma.c | |||
@@ -25,8 +25,7 @@ | |||
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
26 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
27 | #include <linux/pm_runtime.h> | 27 | #include <linux/pm_runtime.h> |
28 | 28 | #include <linux/sh_dma.h> | |
29 | #include <asm/dmaengine.h> | ||
30 | 29 | ||
31 | #include "shdma.h" | 30 | #include "shdma.h" |
32 | 31 | ||