]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: ti: unexport filter functions
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Aug 2019 10:11:43 +0000 (12:11 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 13 Aug 2019 04:36:04 +0000 (10:06 +0530)
commitfe05585202d989bf1816927599b8084e387b64c6
treee5422ac6e4f3376ebf8d060eb8827ea8827e4b4d
parente224a9374d82c708ccbd9dc2ccd25c6ad5967e93
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: feeaeae404f6 ("dmaengine: omap-dma: make omap_dma_filter_fn private")
Fixes: 444d0cea481c ("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>
drivers/dma/ti/edma.c
drivers/dma/ti/omap-dma.c