diff options
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r-- | sound/soc/fsl/imx-pcm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h index 83c0ed7d55c9..5ae13a13a353 100644 --- a/sound/soc/fsl/imx-pcm.h +++ b/sound/soc/fsl/imx-pcm.h | |||
@@ -30,4 +30,22 @@ int snd_imx_pcm_mmap(struct snd_pcm_substream *substream, | |||
30 | int imx_pcm_new(struct snd_soc_pcm_runtime *rtd); | 30 | int imx_pcm_new(struct snd_soc_pcm_runtime *rtd); |
31 | void imx_pcm_free(struct snd_pcm *pcm); | 31 | void imx_pcm_free(struct snd_pcm *pcm); |
32 | 32 | ||
33 | #ifdef CONFIG_SND_SOC_IMX_PCM_DMA | ||
34 | int imx_pcm_dma_init(struct platform_device *pdev); | ||
35 | #else | ||
36 | static inline int imx_pcm_dma_init(struct platform_device *pdev) | ||
37 | { | ||
38 | return -ENODEV; | ||
39 | } | ||
40 | #endif | ||
41 | |||
42 | #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ | ||
43 | int imx_pcm_fiq_init(struct platform_device *pdev); | ||
44 | #else | ||
45 | static inline int imx_pcm_fiq_init(struct platform_device *pdev) | ||
46 | { | ||
47 | return -ENODEV; | ||
48 | } | ||
49 | #endif | ||
50 | |||
33 | #endif /* _IMX_PCM_H */ | 51 | #endif /* _IMX_PCM_H */ |