diff options
Diffstat (limited to 'sound/pci/ca0106')
-rw-r--r-- | sound/pci/ca0106/ca0106_main.c | 2 | ||||
-rw-r--r-- | sound/pci/ca0106/ca0106_proc.c | 3 |
2 files changed, 5 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); |
diff --git a/sound/pci/ca0106/ca0106_proc.c b/sound/pci/ca0106/ca0106_proc.c index 94b622599386..63757273bfb7 100644 --- a/sound/pci/ca0106/ca0106_proc.c +++ b/sound/pci/ca0106/ca0106_proc.c | |||
@@ -77,6 +77,8 @@ | |||
77 | #include "ca0106.h" | 77 | #include "ca0106.h" |
78 | 78 | ||
79 | 79 | ||
80 | #ifdef CONFIG_PROC_FS | ||
81 | |||
80 | struct snd_ca0106_category_str { | 82 | struct snd_ca0106_category_str { |
81 | int val; | 83 | int val; |
82 | const char *name; | 84 | const char *name; |
@@ -459,3 +461,4 @@ int __devinit snd_ca0106_proc_init(struct snd_ca0106 * emu) | |||
459 | return 0; | 461 | return 0; |
460 | } | 462 | } |
461 | 463 | ||
464 | #endif /* CONFIG_PROC_FS */ | ||