diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-01 04:49:58 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:08 -0500 |
commit | adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 (patch) | |
tree | e520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a /sound/pci/cs46xx/dsp_spos.c | |
parent | 8cb7b63f5baf7b5e788f0d632d5ebd018856416f (diff) |
[ALSA] Optimize for config without PROC_FS (pci drivers)
Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx/dsp_spos.c')
-rw-r--r-- | sound/pci/cs46xx/dsp_spos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/cs46xx/dsp_spos.c b/sound/pci/cs46xx/dsp_spos.c index ac98917a1475..445a448949e7 100644 --- a/sound/pci/cs46xx/dsp_spos.c +++ b/sound/pci/cs46xx/dsp_spos.c | |||
@@ -439,6 +439,7 @@ cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name, int symb | |||
439 | } | 439 | } |
440 | 440 | ||
441 | 441 | ||
442 | #ifdef CONFIG_PROC_FS | ||
442 | static struct dsp_symbol_entry * | 443 | static struct dsp_symbol_entry * |
443 | cs46xx_dsp_lookup_symbol_addr (struct snd_cs46xx * chip, u32 address, int symbol_type) | 444 | cs46xx_dsp_lookup_symbol_addr (struct snd_cs46xx * chip, u32 address, int symbol_type) |
444 | { | 445 | { |
@@ -912,6 +913,7 @@ int cs46xx_dsp_proc_done (struct snd_cs46xx *chip) | |||
912 | 913 | ||
913 | return 0; | 914 | return 0; |
914 | } | 915 | } |
916 | #endif /* CONFIG_PROC_FS */ | ||
915 | 917 | ||
916 | static int debug_tree; | 918 | static int debug_tree; |
917 | static void _dsp_create_task_tree (struct snd_cs46xx *chip, u32 * task_data, | 919 | static void _dsp_create_task_tree (struct snd_cs46xx *chip, u32 * task_data, |