dma: ti: unexport filter functions
Subsystems (2)
PATCH v2 1/1 dma: 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.
---
v2: fix typo in changelog
--- drivers/dma/ti/edma.c | 1 - drivers/dma/ti/omap-dma.c | 1 - 2 files changed, 2 deletions(-)
drivers/dma/ti/edma.c +0 -1
@@ -2540,7 +2540,6 @@ static bool edma_filter_fn(struct dma_chan *chan, void *param) }return match; } -EXPORT_SYMBOL (edma_filter_fn);static int edma_init (void ) {
drivers/dma/ti/omap-dma.c +0 -1
@@ -1652,7 +1652,6 @@ static bool omap_dma_filter_fn(struct dma_chan *chan, void *param) }return false; } -EXPORT_SYMBOL_GPL (omap_dma_filter_fn);static int omap_dma_init (void ) {
Signature · 1 line
2.20.0
Vinod Koul
maintainerQuoted 7 lines · Arnd Bergmann
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 staticEXPORT_SYMBOL_GPL
WARNING: "edma_filter_fn" [vmlinux] is a staticEXPORT_SYMBOLRemove the unneeded exports as well, as originally intended.
Change title to: "dmaengine: ti: unexport filter functions"
and applied, thanks
Signature · 1 line
~Vinod