]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: reduce visibility of dmac_* functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jul 2015 08:10:55 +0000 (09:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 1 Aug 2015 21:25:04 +0000 (22:25 +0100)
commit1de175f54d9528dd58ccf9a716ef7316a7e3ab71
treead30b68bfd5c594499e9670dab32d4f2a2eb8a6d
parentd3310f4bbdb140ec42e6cc8c1ec04da18affd116
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>
arch/arm/include/asm/cacheflush.h
arch/arm/include/asm/glue-cache.h
arch/arm/mm/dma-mapping.c
arch/arm/mm/dma.h [new file with mode: 0644]