Skip to content

Commit e913b14

Browse files
committed
ALSA: i2c/other/ak4xx-adda: Fix a compile warning with CONFIG_PROCFS=n
Signed-off-by: Takashi Iwai <[email protected]>
1 parent 5591bf0 commit e913b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/i2c/other/ak4xxx-adda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ static int proc_init(struct snd_akm4xxx *ak)
900900
return 0;
901901
}
902902
#else /* !CONFIG_PROC_FS */
903-
static int proc_init(struct snd_akm4xxx *ak) {}
903+
static int proc_init(struct snd_akm4xxx *ak) { return 0; }
904904
#endif
905905

906906
int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak)

0 commit comments

Comments
 (0)