Skip to contentSkip to conversation

ALSA: core: Fix randconfig build wrt CONFIG_PROC_FS

PATCH New Takashi Iwai 1 participant 1 message May 29, 2015 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: core: Fix randconfig build wrt CONFIG_PROC_FS

There are a few leftover CONFIG_PROC_FS forgotten to replace with CONFIG_SND_PROC_FS.

Fixes cd6a65036f0e ('ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS')
---
 sound/core/seq/Makefile     | 2 +-
 sound/core/seq/seq_device.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
sound/core/seq/Makefile +1 -1
index b29ffe835205..b65fa5a1943b 100644
@@ -7,7 +7,7 @@ snd-seq-device-objs := seq_device.o
 snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \
                 seq_fifo.o seq_prioq.o seq_timer.o \
                 seq_system.o seq_ports.o
-snd-seq-$(CONFIG_PROC_FS) += seq_info.o
+snd-seq-$(CONFIG_SND_PROC_FS) += seq_info.o
 snd-seq-midi-objs := seq_midi.o
 snd-seq-midi-emul-objs := seq_midi_emul.o
 snd-seq-midi-event-objs := seq_midi_event.o
sound/core/seq/seq_device.c +2 -2
index 288af56a43cd..c4acf17e9f5e 100644
@@ -272,7 +272,7 @@ EXPORT_SYMBOL_GPL(snd_seq_driver_unregister);
 
 static int __init seq_dev_proc_init(void)
 {
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_SND_PROC_FS
 	info_entry = snd_info_create_module_entry(THIS_MODULE, "drivers",
 						  snd_seq_root);
 	if (info_entry == NULL)
@@ -305,7 +305,7 @@ static void __exit alsa_seq_device_exit(void)
 #ifdef CONFIG_MODULES
 	cancel_work_sync(&autoload_work);
 #endif
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_SND_PROC_FS
 	snd_info_free_entry(info_entry);
 #endif
 	bus_unregister(&snd_seq_bus_type);
Signature · 1 line
2.4.2