diff options
Diffstat (limited to 'sound/soc/tegra/tegra_pcm.h')
-rw-r--r-- | sound/soc/tegra/tegra_pcm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_pcm.h b/sound/soc/tegra/tegra_pcm.h index 985d418a35e7..a3a450352dcf 100644 --- a/sound/soc/tegra/tegra_pcm.h +++ b/sound/soc/tegra/tegra_pcm.h | |||
@@ -40,6 +40,7 @@ struct tegra_pcm_dma_params { | |||
40 | unsigned long req_sel; | 40 | unsigned long req_sel; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | #if defined(CONFIG_TEGRA_SYSTEM_DMA) | ||
43 | struct tegra_runtime_data { | 44 | struct tegra_runtime_data { |
44 | struct snd_pcm_substream *substream; | 45 | struct snd_pcm_substream *substream; |
45 | spinlock_t lock; | 46 | spinlock_t lock; |
@@ -51,6 +52,7 @@ struct tegra_runtime_data { | |||
51 | struct tegra_dma_req dma_req[2]; | 52 | struct tegra_dma_req dma_req[2]; |
52 | struct tegra_dma_channel *dma_chan; | 53 | struct tegra_dma_channel *dma_chan; |
53 | }; | 54 | }; |
55 | #endif | ||
54 | 56 | ||
55 | int tegra_pcm_platform_register(struct device *dev); | 57 | int tegra_pcm_platform_register(struct device *dev); |
56 | void tegra_pcm_platform_unregister(struct device *dev); | 58 | void tegra_pcm_platform_unregister(struct device *dev); |