summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/dma-contiguous.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/dma-contiguous.h')
-rw-r--r--arch/arm/include/asm/dma-contiguous.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/dma-contiguous.h b/arch/arm/include/asm/dma-contiguous.h
new file mode 100644
index 000000000..d785187a6
--- /dev/null
+++ b/arch/arm/include/asm/dma-contiguous.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef ASMARM_DMA_CONTIGUOUS_H
+#define ASMARM_DMA_CONTIGUOUS_H
+
+#ifdef __KERNEL__
+#ifdef CONFIG_DMA_CMA
+
+#include <linux/types.h>
+
+void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size);
+
+#endif
+#endif
+
+#endif