Browse Source

ALSA: i2c/other/ak4xx-adda: Fix a compile warning with CONFIG_PROCFS=n

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 14 năm trước cách đây
mục cha
commit
e913b14649
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sound/i2c/other/ak4xxx-adda.c

+ 1 - 1
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)