[ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optional
[deliverable/linux.git] / sound / core / oss / route.c
index 726c5caa3fdb29df7caf198a394d38560901adf1..f99a54e6551a67d04fad50538d86fc991b1555e4 100644 (file)
@@ -20,6 +20,9 @@
  */
 
 #include <sound/driver.h>
+
+#ifdef CONFIG_SND_PCM_OSS_PLUGINS
+
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <sound/core.h>
@@ -519,3 +522,5 @@ int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug,
        *r_plugin = plugin;
        return 0;
 }
+
+#endif
This page took 0.025142 seconds and 5 git commands to generate.