aboutsummaryrefslogtreecommitdiff
path: root/sound/core/seq/oss/seq_oss_readq.c
diff options
context:
space:
mode:
authorGravatar Jie Yang <yang.jie@intel.com> 2015-05-27 19:45:45 +0800
committerGravatar Takashi Iwai <tiwai@suse.de> 2015-05-27 21:25:19 +0200
commitcd6a65036f0eac4ad83dc371bb458e9e6ba6e306 (patch)
tree8fde8da6fa86c62608202b5772059426e16ad217 /sound/core/seq/oss/seq_oss_readq.c
parentALSA: Kconfig: add config item SND_PROC_FS for expert (diff)
downloadlinux-cd6a65036f0eac4ad83dc371bb458e9e6ba6e306.tar.gz
linux-cd6a65036f0eac4ad83dc371bb458e9e6ba6e306.tar.bz2
linux-cd6a65036f0eac4ad83dc371bb458e9e6ba6e306.zip
ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS
We may disable proc fs only for sound part, to reduce ALSA memory footprint. So add CONFIG_SND_PROC_FS and replace the old CONFIG_PROC_FSs in alsa code. With sound proc fs disabled, we can save about 9KB memory size on X86_64 platform. Signed-off-by: Jie Yang <yang.jie@intel.com> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/oss/seq_oss_readq.c')
-rw-r--r--sound/core/seq/oss/seq_oss_readq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/seq/oss/seq_oss_readq.c b/sound/core/seq/oss/seq_oss_readq.c
index c080c73cea04..ccd893566f1d 100644
--- a/sound/core/seq/oss/seq_oss_readq.c
+++ b/sound/core/seq/oss/seq_oss_readq.c
@@ -222,7 +222,7 @@ snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *q, unsigned long curt, int
}
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_SND_PROC_FS
/*
* proc interface
*/
@@ -233,4 +233,4 @@ snd_seq_oss_readq_info_read(struct seq_oss_readq *q, struct snd_info_buffer *buf
(waitqueue_active(&q->midi_sleep) ? "sleeping":"running"),
q->qlen, q->input_time);
}
-#endif /* CONFIG_PROC_FS */
+#endif /* CONFIG_SND_PROC_FS */