summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-06-09 20:25:40 +0400
committerVinod Koul <vinod.koul@intel.com>2014-06-09 20:25:40 +0400
commit3c814be9712f1a9f22009fb56bf96cf6de2ec663 (patch)
treede68086c72202eaa6625c8262d403f7409dff3b4 /include/linux
parent877d8425072b50965f6f04ea3a127928f66db72f (diff)
parent1222934e54b63752b4b1ad305d6a7f632a3ae46d (diff)
downloadlinux-3c814be9712f1a9f22009fb56bf96cf6de2ec663.tar.xz
Merge branch 'topic/dw' into for-linus
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/omap-dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h
index 41a13e70f41f..7944cdc27bed 100644
--- a/include/linux/omap-dma.h
+++ b/include/linux/omap-dma.h
@@ -10,7 +10,7 @@
struct dma_chan;
-#if defined(CONFIG_DMA_OMAP) || defined(CONFIG_DMA_OMAP_MODULE)
+#if defined(CONFIG_DMA_OMAP) || (defined(CONFIG_DMA_OMAP_MODULE) && defined(MODULE))
bool omap_dma_filter_fn(struct dma_chan *, void *);
#else
static inline bool omap_dma_filter_fn(struct dma_chan *c, void *d)