diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-08-12 06:11:43 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-13 00:36:04 -0400 |
commit | 069e4a19f44d82c43d6a3866499f3d4da6ab3dec (patch) | |
tree | e5422ac6e4f3376ebf8d060eb8827ea8827e4b4d | |
parent | ba1cab79cfc629f7238a26e040545ca394cd695f (diff) |
dmaengine: ti: unexport filter functions
The two filter functions are now marked static, but still exported,
which triggers a coming build-time check:
WARNING: "omap_dma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL_GPL
WARNING: "edma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL
Remove the unneeded exports as well, as originally intended.
Fixes: 9c71b9eb3cb2 ("dmaengine: omap-dma: make omap_dma_filter_fn private")
Fixes: d2bfe7b5d182 ("dmaengine: edma: make edma_filter_fn private")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190812101155.997721-1-arnd@arndb.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/dma/ti/edma.c | 1 | ||||
-rw-r--r-- | drivers/dma/ti/omap-dma.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index fe468e2f7e67..f7555d78ff9e 100644 --- a/drivers/dma/ti/edma.c +++ b/drivers/dma/ti/edma.c | |||
@@ -2600,7 +2600,6 @@ static bool edma_filter_fn(struct dma_chan *chan, void *param) | |||
2600 | } | 2600 | } |
2601 | return match; | 2601 | return match; |
2602 | } | 2602 | } |
2603 | EXPORT_SYMBOL(edma_filter_fn); | ||
2604 | 2603 | ||
2605 | static int edma_init(void) | 2604 | static int edma_init(void) |
2606 | { | 2605 | { |
diff --git a/drivers/dma/ti/omap-dma.c b/drivers/dma/ti/omap-dma.c index a4a63425dc0b..d27779be5b17 100644 --- a/drivers/dma/ti/omap-dma.c +++ b/drivers/dma/ti/omap-dma.c | |||
@@ -1666,7 +1666,6 @@ static bool omap_dma_filter_fn(struct dma_chan *chan, void *param) | |||
1666 | } | 1666 | } |
1667 | return false; | 1667 | return false; |
1668 | } | 1668 | } |
1669 | EXPORT_SYMBOL_GPL(omap_dma_filter_fn); | ||
1670 | 1669 | ||
1671 | static int omap_dma_init(void) | 1670 | static int omap_dma_init(void) |
1672 | { | 1671 | { |