aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/psc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/au1x/psc.h')
-rw-r--r--sound/soc/au1x/psc.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/au1x/psc.h b/sound/soc/au1x/psc.h
index 093775d4dc3e..b30eadd422a7 100644
--- a/sound/soc/au1x/psc.h
+++ b/sound/soc/au1x/psc.h
@@ -8,19 +8,11 @@
8 * it under the terms of the GNU General Public License version 2 as 8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 * 10 *
11 * NOTE: all of these drivers can only work with a SINGLE instance
12 * of a PSC. Multiple independent audio devices are impossible
13 * with ASoC v1.
14 */ 11 */
15 12
16#ifndef _AU1X_PCM_H 13#ifndef _AU1X_PCM_H
17#define _AU1X_PCM_H 14#define _AU1X_PCM_H
18 15
19extern struct snd_soc_dai au1xpsc_ac97_dai;
20extern struct snd_soc_dai au1xpsc_i2s_dai;
21extern struct snd_soc_platform au1xpsc_soc_platform;
22extern struct snd_ac97_bus_ops soc_ac97_ops;
23
24/* DBDMA helpers */ 16/* DBDMA helpers */
25extern struct platform_device *au1xpsc_pcm_add(struct platform_device *pdev); 17extern struct platform_device *au1xpsc_pcm_add(struct platform_device *pdev);
26extern void au1xpsc_pcm_destroy(struct platform_device *dmapd); 18extern void au1xpsc_pcm_destroy(struct platform_device *dmapd);
@@ -31,6 +23,8 @@ struct au1xpsc_audio_data {
31 unsigned long cfg; 23 unsigned long cfg;
32 unsigned long rate; 24 unsigned long rate;
33 25
26 struct snd_soc_dai_driver dai_drv;
27
34 unsigned long pm[2]; 28 unsigned long pm[2];
35 struct mutex lock; 29 struct mutex lock;
36 struct platform_device *dmapd; 30 struct platform_device *dmapd;