summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-06-30 17:15:46 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-07-01 23:11:52 -0500
commit191c7118592cd182f2dc7f46b4f72d9bed0e2c76 (patch)
tree5a91f7f8cc419b828558ebc8d93b438a8e795dda /include
parent7892f619d40f4196e41e7114c5dfee9fad0f572f (diff)
fsl_dma: Move dma function prototypes to common header file
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/fsl_dma.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc/fsl_dma.h b/include/asm-ppc/fsl_dma.h
index c9ec6b59e6..978283a8c4 100644
--- a/include/asm-ppc/fsl_dma.h
+++ b/include/asm-ppc/fsl_dma.h
@@ -94,4 +94,9 @@ typedef struct fsl_dma {
char res4[56];
} fsl_dma_t;
+#ifdef CONFIG_FSL_DMA
+void dma_init(void);
+int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t n);
+#endif
+
#endif /* _ASM_DMA_H_ */