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:
0763722
)
ALSA: ASoC - restore removed variable declaration
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 31 Oct 2008 03:41:06 +0000
(14:41 +1100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 31 Oct 2008 06:32:12 +0000
(07:32 +0100)
sound/soc/soc-dapm.c: In function 'snd_soc_dapm_sys_add':
sound/soc/soc-dapm.c:828: error: 'ret' undeclared (first use in this function)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index 407092c226f9c070749987115d5f92ad6c517916..7bf3c4094592c8fb2a3eefa9896010d740e041df 100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-822,6
+822,8
@@
static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL);
int snd_soc_dapm_sys_add(struct device *dev)
{
+ int ret;
+
if (!dapm_status)
return 0;