ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS
[firefly-linux-kernel-4.4.55.git] / sound / synth / emux / emux_voice.h
index 09711f84ed3049129681cb8b074e7f2b9c0ce2e2..a7073c371bcc01f8a02ece1502d59f46ec70d5d8 100644 (file)
@@ -82,9 +82,13 @@ void snd_emux_init_seq_oss(struct snd_emux *emu);
 void snd_emux_detach_seq_oss(struct snd_emux *emu);
 
 /* emux_proc.c */
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_SND_PROC_FS
 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device);
 void snd_emux_proc_free(struct snd_emux *emu);
+#else
+static inline void snd_emux_proc_init(struct snd_emux *emu,
+                                     struct snd_card *card, int device) {}
+static inline void snd_emux_proc_free(struct snd_emux *emu) {}
 #endif
 
 #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON)