aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/mainstone.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-13 12:48:06 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:23:39 -0500
commitf7cbb7fcd3bae5264a079e06411b35366da9bd4d (patch)
treecc6c46c6e68f2c13da665ad30c9e1dd370dcb7cf /arch/arm/mach-pxa/mainstone.c
parent97c67b65cbdfd19887450ae1b80ddbb54de9559d (diff)
[ALSA] Fix snd_xxx_t typedefs
Modules: PXA Mainstone driver,CX88 driver,SAA7134 driver Replace snd_xxx_t typedefs with explicit structs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/arm/mach-pxa/mainstone.c')
-rw-r--r--arch/arm/mach-pxa/mainstone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c
index d5bda60209ec..98356f810007 100644
--- a/arch/arm/mach-pxa/mainstone.c
+++ b/arch/arm/mach-pxa/mainstone.c
@@ -157,14 +157,14 @@ static struct platform_device smc91x_device = {
157 .resource = smc91x_resources, 157 .resource = smc91x_resources,
158}; 158};
159 159
160static int mst_audio_startup(snd_pcm_substream_t *substream, void *priv) 160static int mst_audio_startup(struct snd_pcm_substream *substream, void *priv)
161{ 161{
162 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 162 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
163 MST_MSCWR2 &= ~MST_MSCWR2_AC97_SPKROFF; 163 MST_MSCWR2 &= ~MST_MSCWR2_AC97_SPKROFF;
164 return 0; 164 return 0;
165} 165}
166 166
167static void mst_audio_shutdown(snd_pcm_substream_t *substream, void *priv) 167static void mst_audio_shutdown(struct snd_pcm_substream *substream, void *priv)
168{ 168{
169 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 169 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
170 MST_MSCWR2 |= MST_MSCWR2_AC97_SPKROFF; 170 MST_MSCWR2 |= MST_MSCWR2_AC97_SPKROFF;