diff options
author | Jie Yang <yang.jie@intel.com> | 2015-05-27 13:45:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-27 21:25:19 +0200 |
commit | cd6a65036f0eac4ad83dc371bb458e9e6ba6e306 (patch) | |
tree | 8fde8da6fa86c62608202b5772059426e16ad217 /sound/pci/hda/patch_sigmatel.c | |
parent | ALSA: Kconfig: add config item SND_PROC_FS for expert (diff) | |
download | linux-cd6a65036f0eac4ad83dc371bb458e9e6ba6e306.tar.xz 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/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 43c99ce4a520..054026a709f9 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -4337,7 +4337,7 @@ static void stac_shutup(struct hda_codec *codec) #define stac_free snd_hda_gen_free -#ifdef CONFIG_PROC_FS +#ifdef CONFIG_SND_PROC_FS static void stac92hd_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) { |