diff options
Diffstat (limited to 'include/linux/fsl/mxs-dma.h')
-rw-r--r-- | include/linux/fsl/mxs-dma.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/fsl/mxs-dma.h b/include/linux/fsl/mxs-dma.h index 203d7c4a3e11..55d870238399 100644 --- a/include/linux/fsl/mxs-dma.h +++ b/include/linux/fsl/mxs-dma.h | |||
@@ -15,14 +15,6 @@ struct mxs_dma_data { | |||
15 | int chan_irq; | 15 | int chan_irq; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | static inline int mxs_dma_is_apbh(struct dma_chan *chan) | 18 | extern int mxs_dma_is_apbh(struct dma_chan *chan); |
19 | { | 19 | extern int mxs_dma_is_apbx(struct dma_chan *chan); |
20 | return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbh"); | ||
21 | } | ||
22 | |||
23 | static inline int mxs_dma_is_apbx(struct dma_chan *chan) | ||
24 | { | ||
25 | return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbx"); | ||
26 | } | ||
27 | |||
28 | #endif /* __MACH_MXS_DMA_H__ */ | 20 | #endif /* __MACH_MXS_DMA_H__ */ |