2017-11-06 02:38:20 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2017-08-10 13:25:24 +00:00
|
|
|
#ifndef _MMP_PDMA_H_
|
|
|
|
#define _MMP_PDMA_H_
|
|
|
|
|
|
|
|
struct dma_chan;
|
|
|
|
|
|
|
|
#ifdef CONFIG_MMP_PDMA
|
|
|
|
bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param);
|
|
|
|
#else
|
|
|
|
static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _MMP_PDMA_H_ */
|