summaryrefslogtreecommitdiff
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-07-24 11:10:55 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-08-02 00:25:04 +0300
commit1234e3fda9aa24b2d650bbcd9ef09d5f6a12dc86 (patch)
treead30b68bfd5c594499e9670dab32d4f2a2eb8a6d /arch/arm/mm/dma-mapping.c
parent9ac87c5a0b19417f925dc61cac7198d872159a2c (diff)
downloadlinux-1234e3fda9aa24b2d650bbcd9ef09d5f6a12dc86.tar.xz
ARM: reduce visibility of dmac_* functions
The dmac_* functions are private to the ARM DMA API implementation, and should not be used by drivers. In order to discourage their use, remove their prototypes and macros from asm/*.h. We have to leave dmac_flush_range() behind as Exynos and MSM IOMMU code use these; once these sites are fixed, this can be moved also. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
-rw-r--r--arch/arm/mm/dma-mapping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 1ced8a0f7a52..5edf17cf043d 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -39,6 +39,7 @@
#include <asm/system_info.h>
#include <asm/dma-contiguous.h>
+#include "dma.h"
#include "mm.h"
/*