diff options
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r-- | sound/pci/atiixp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index a039284c7c54..33e0664a1925 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -1477,6 +1477,7 @@ static int snd_atiixp_resume(struct pci_dev *pci) | |||
1477 | #endif /* CONFIG_PM */ | 1477 | #endif /* CONFIG_PM */ |
1478 | 1478 | ||
1479 | 1479 | ||
1480 | #ifdef CONFIG_PROC_FS | ||
1480 | /* | 1481 | /* |
1481 | * proc interface for register dump | 1482 | * proc interface for register dump |
1482 | */ | 1483 | */ |
@@ -1498,7 +1499,9 @@ static void __devinit snd_atiixp_proc_init(struct atiixp *chip) | |||
1498 | if (! snd_card_proc_new(chip->card, "atiixp", &entry)) | 1499 | if (! snd_card_proc_new(chip->card, "atiixp", &entry)) |
1499 | snd_info_set_text_ops(entry, chip, 1024, snd_atiixp_proc_read); | 1500 | snd_info_set_text_ops(entry, chip, 1024, snd_atiixp_proc_read); |
1500 | } | 1501 | } |
1501 | 1502 | #else /* !CONFIG_PROC_FS */ | |
1503 | #define snd_atiixp_proc_init(chip) | ||
1504 | #endif | ||
1502 | 1505 | ||
1503 | 1506 | ||
1504 | /* | 1507 | /* |