mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
651022382c
commit
c2a70a319a
2 changed files with 2 additions and 14 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue