summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/route.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-01-13 09:12:11 +0100
committerJaroslav Kysela <perex@suse.cz>2006-03-22 10:23:12 +0100
commit21a3479a0b606d36fe24093f70a1c27328cec286 (patch)
tree484ce13d02df9f580bb6691ea3845160dc716c4a /sound/core/oss/route.c
parent153abaa4ff0500070a282dd0868367d69388d527 (diff)
downloadblackbird-op-linux-21a3479a0b606d36fe24093f70a1c27328cec286.tar.gz
blackbird-op-linux-21a3479a0b606d36fe24093f70a1c27328cec286.zip
[ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optional
Modules: ALSA Core,PCM Midlevel,ALSA<-OSS emulation,USB generic driver 1) The verbose procfs code for the PCM midlevel and usb audio can be removed now (more patches will follow). CONFIG_SND_VERBOSE_PROCFS 2) The PCM OSS plugin system can be also compiled optionaly. CONFIG_SND_PCM_OSS_PLUGINS Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core/oss/route.c')
-rw-r--r--sound/core/oss/route.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/core/oss/route.c b/sound/core/oss/route.c
index 726c5caa3fdb..f99a54e6551a 100644
--- a/sound/core/oss/route.c
+++ b/sound/core/oss/route.c
@@ -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
OpenPOWER on IntegriCloud