diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-01-21 10:33:11 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-21 15:05:29 +0530 |
commit | c3c431de99c068e3f64d01335c1532b22e4b1d1b (patch) | |
tree | 8ac349d1ecaf6e66dcb6417c1824699629a4ff6d /drivers/dma/of-dma.c | |
parent | 71ca5b78235e79c36f774773491064d7921d1942 (diff) | |
download | lwn-c3c431de99c068e3f64d01335c1532b22e4b1d1b.tar.gz lwn-c3c431de99c068e3f64d01335c1532b22e4b1d1b.zip |
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>
Diffstat (limited to 'drivers/dma/of-dma.c')
-rw-r--r-- | drivers/dma/of-dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index c2d779daa4b5..b2c2b5e8093c 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -15,6 +15,8 @@ #include <linux/of.h> #include <linux/of_dma.h> +#include "dmaengine.h" + static LIST_HEAD(of_dma_list); static DEFINE_MUTEX(of_dma_lock); |