summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-04 22:15:59 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-04 22:15:59 +0400
commitd9f73afcd364eb02b355921f6101db9e7ee4001c (patch)
tree43870615470ed12414fa9b3fcc1f249fc1fd36c4 /sound/i2c
parent53d22d886a13b9f6309c3333be55bd71d621eb8d (diff)
parente913b146493993c8ac33561655c590e58b500c6f (diff)
downloadlinux-d9f73afcd364eb02b355921f6101db9e7ee4001c.tar.xz
Merge branch 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: i2c/other/ak4xx-adda: Fix a compile warning with CONFIG_PROCFS=n ALSA: prevent heap corruption in snd_ctl_new()
Diffstat (limited to 'sound/i2c')
-rw-r--r--sound/i2c/other/ak4xxx-adda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4xxx-adda.c b/sound/i2c/other/ak4xxx-adda.c
index 1adb8a3c2b62..42d7844ecd0b 100644
--- a/sound/i2c/other/ak4xxx-adda.c
+++ b/sound/i2c/other/ak4xxx-adda.c
@@ -900,7 +900,7 @@ static int proc_init(struct snd_akm4xxx *ak)
return 0;
}
#else /* !CONFIG_PROC_FS */
-static int proc_init(struct snd_akm4xxx *ak) {}
+static int proc_init(struct snd_akm4xxx *ak) { return 0; }
#endif
int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak)