summaryrefslogtreecommitdiff
path: root/include/linux/dma
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2018-06-17 20:02:15 +0300
committerRobert Jarzmik <robert.jarzmik@free.fr>2018-12-04 00:41:07 +0300
commitc2a70a319afb9e3dee16567cec4d9bf8dd358b59 (patch)
treee8b45d7e9718d26a10214338672158b265d852d7 /include/linux/dma
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-c2a70a319afb9e3dee16567cec4d9bf8dd358b59.tar.xz
dmaengine: pxa: make the filter function internal
As the pxa architecture and all its related drivers do not rely anymore on the filter function, thanks to the slave map conversion, make pxad_filter_fn() static, and remove it from the global namespace. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/dma')
-rw-r--r--include/linux/dma/pxa-dma.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h
index 9fc594f69eff..fceb5df07097 100644
--- a/include/linux/dma/pxa-dma.h
+++ b/include/linux/dma/pxa-dma.h
@@ -23,15 +23,4 @@ struct pxad_param {
enum pxad_chan_prio prio;
};
-struct dma_chan;
-
-#ifdef CONFIG_PXA_DMA
-bool pxad_filter_fn(struct dma_chan *chan, void *param);
-#else
-static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
-{
- return false;
-}
-#endif
-
#endif /* _PXA_DMA_H_ */