[ALSA] Optimize for config without PROC_FS (pci drivers)
[deliverable/linux.git] / sound / pci / atiixp.c
index a039284c7c54b55b6f725407814385a16c928167..33e0664a1925a1c33682ee490bf92358554e6e72 100644 (file)
@@ -1477,6 +1477,7 @@ static int snd_atiixp_resume(struct pci_dev *pci)
 #endif /* CONFIG_PM */
 
 
+#ifdef CONFIG_PROC_FS
 /*
  * proc interface for register dump
  */
@@ -1498,7 +1499,9 @@ static void __devinit snd_atiixp_proc_init(struct atiixp *chip)
        if (! snd_card_proc_new(chip->card, "atiixp", &entry))
                snd_info_set_text_ops(entry, chip, 1024, snd_atiixp_proc_read);
 }
-
+#else /* !CONFIG_PROC_FS */
+#define snd_atiixp_proc_init(chip)
+#endif
 
 
 /*
This page took 0.029102 seconds and 5 git commands to generate.