Message ID | 1384917713-15962-579-git-send-email-horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/shdma-base.h b/include/linux/shdma-base.h index 9a93897..e212720 100644 --- a/include/linux/shdma-base.h +++ b/include/linux/shdma-base.h @@ -122,6 +122,10 @@ void shdma_chan_remove(struct shdma_chan *schan); int shdma_init(struct device *dev, struct shdma_dev *sdev, int chan_num); void shdma_cleanup(struct shdma_dev *sdev); +#if IS_ENABLED(CONFIG_SH_DMAE_BASE) bool shdma_chan_filter(struct dma_chan *chan, void *arg); +#else +#define shdma_chan_filter NULL +#endif #endif