dmaengine: Move dma_get_{,any_}slave_channel() to private dmaengine.h
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 21 Jan 2020 09:33:11 +0000 (10:33 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 Jan 2020 09:35:29 +0000 (15:05 +0530)
commitc3c431de99c068e3f64d01335c1532b22e4b1d1b
tree8ac349d1ecaf6e66dcb6417c1824699629a4ff6d
parent71ca5b78235e79c36f774773491064d7921d1942
dmaengine: Move dma_get_{,any_}slave_channel() to private dmaengine.h

The functions dma_get_slave_channel() and dma_get_any_slave_channel()
are called from DMA engine drivers only.  Hence move their declarations
from the public header file <linux/dmaengine.h> to the private header
file drivers/dma/dmaengine.h.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200121093311.28639-4-geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmaengine.h
drivers/dma/of-dma.c
include/linux/dmaengine.h