summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/plat-pxa/include
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/plat-pxa/include')
-rw-r--r--kernel/arch/arm/plat-pxa/include/plat/dma.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/arm/plat-pxa/include/plat/dma.h b/kernel/arch/arm/plat-pxa/include/plat/dma.h
index a7b91dc06..28848b344 100644
--- a/kernel/arch/arm/plat-pxa/include/plat/dma.h
+++ b/kernel/arch/arm/plat-pxa/include/plat/dma.h
@@ -82,4 +82,19 @@ int pxa_request_dma (char *name,
void pxa_free_dma (int dma_ch);
+/*
+ * Cooperation with pxa_dma + dmaengine while there remains at least one pxa
+ * driver not converted to dmaengine.
+ */
+#if defined(CONFIG_PXA_DMA)
+extern int pxad_toggle_reserved_channel(int legacy_channel);
+#else
+static inline int pxad_toggle_reserved_channel(int legacy_channel)
+{
+ return 0;
+}
+#endif
+
+extern void __init pxa2xx_set_dmac_info(int nb_channels);
+
#endif /* __PLAT_DMA_H */