[ALSA] Optimize for config without PROC_FS (seq and oss parts)
[pandora-kernel.git] / sound / core / seq / seq_queue.c
index b537a71..9cf20f0 100644 (file)
@@ -756,6 +756,7 @@ int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop)
 
 /*----------------------------------------------------------------*/
 
+#ifdef CONFIG_PROC_FS
 /* exported to seq_info.c */
 void snd_seq_info_queues_read(struct snd_info_entry *entry, 
                              struct snd_info_buffer *buffer)
@@ -789,3 +790,5 @@ void snd_seq_info_queues_read(struct snd_info_entry *entry,
                queuefree(q);
        }
 }
+#endif /* CONFIG_PROC_FS */
+