projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5220ed6
)
ALSA: ASoC: Fix old-style trigger callback in s3c2443-ac97.c
author
Takashi Iwai
<tiwai@suse.de>
Mon, 1 Dec 2008 19:03:54 +0000
(20:03 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 1 Dec 2008 19:08:22 +0000
(20:08 +0100)
Fix the old-style trigger callback in s3c2443-ac97.c:
sound/soc/s3c24xx/s3c2443-ac97.c:378: warning: initialization from incompatible pointer type
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/s3c24xx/s3c2443-ac97.c
patch
|
blob
|
history
diff --git
a/sound/soc/s3c24xx/s3c2443-ac97.c
b/sound/soc/s3c24xx/s3c2443-ac97.c
index 41bde6a3883ba7af25db08353865f3988c8c40a2..f0bc9b7e0840b39f9c72d5d50eb17eb8f6cd14af 100644
(file)
--- a/
sound/soc/s3c24xx/s3c2443-ac97.c
+++ b/
sound/soc/s3c24xx/s3c2443-ac97.c
@@
-285,7
+285,8
@@
static int s3c2443_ac97_hw_params(struct snd_pcm_substream *substream,
return 0;
}
-static int s3c2443_ac97_trigger(struct snd_pcm_substream *substream, int cmd)
+static int s3c2443_ac97_trigger(struct snd_pcm_substream *substream, int cmd,
+ struct snd_soc_dai *dai)
{
u32 ac_glbctrl;