aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106_main.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-12-01 04:49:58 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:08 -0500
commitadf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 (patch)
treee520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a /sound/pci/ca0106/ca0106_main.c
parent8cb7b63f5baf7b5e788f0d632d5ebd018856416f (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/ca0106/ca0106_main.c')
-rw-r--r--sound/pci/ca0106/ca0106_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index 744f97183723..5964cdc93f73 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -1456,7 +1456,9 @@ static int __devinit snd_ca0106_probe(struct pci_dev *pci,
1456 } 1456 }
1457 snd_printdd(" done.\n"); 1457 snd_printdd(" done.\n");
1458 1458
1459#ifdef CONFIG_PROC_FS
1459 snd_ca0106_proc_init(chip); 1460 snd_ca0106_proc_init(chip);
1461#endif
1460 1462
1461 if ((err = snd_card_register(card)) < 0) { 1463 if ((err = snd_card_register(card)) < 0) {
1462 snd_card_free(card); 1464 snd_card_free(card);