diff options
Diffstat (limited to 'kernel/include/linux/shdma-base.h')
-rw-r--r-- | kernel/include/linux/shdma-base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/include/linux/shdma-base.h b/kernel/include/linux/shdma-base.h index dd0ba502c..d927647e6 100644 --- a/kernel/include/linux/shdma-base.h +++ b/kernel/include/linux/shdma-base.h @@ -128,7 +128,10 @@ 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 +static inline bool shdma_chan_filter(struct dma_chan *chan, void *arg) +{ + return false; +} #endif #endif |