ALSA: i2c/other/ak4xx-adda: Fix a compile warning with CONFIG_PROCFS=n
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Sep 2010 20:59:12 +0000 (22:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Sep 2010 20:59:12 +0000 (22:59 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/i2c/other/ak4xxx-adda.c

index 1adb8a3c2b62db229f9ba0b580d930d288e74c14..42d7844ecd0bfa66ddf3db96527ccc18c79f7485 100644 (file)
@@ -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)