ALSA: emu10k1: Fix/cleanup ifdef CONFIG_PROC_FS

Build emuproc.o conditionally and drop the unneeded ifdefs.
Some are replaced with the new CONFIG_SND_PROC_FS.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Šī revīzija ir iekļauta:
Takashi Iwai
2015-05-29 07:56:42 +02:00
vecāks 95bb6258d6
revīzija 506e6ae256
3 mainīti faili ar 3 papildinājumiem un 4 dzēšanām

Parādīt failu

@@ -34,7 +34,6 @@
#include <sound/emu10k1.h>
#include "p16v.h"
#ifdef CONFIG_PROC_FS
static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu,
struct snd_info_buffer *buffer,
char *title,
@@ -656,4 +655,3 @@ int snd_emu10k1_proc_init(struct snd_emu10k1 *emu)
}
return 0;
}
#endif /* CONFIG_PROC_FS */