summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/oss/io.c')
-rw-r--r--sound/core/oss/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/core/oss/io.c b/sound/core/oss/io.c
index 322702e05f3e..b6e7ce30e5a3 100644
--- a/sound/core/oss/io.c
+++ b/sound/core/oss/io.c
@@ -20,6 +20,9 @@
*/
#include <sound/driver.h>
+
+#ifdef CONFIG_SND_PCM_OSS_PLUGINS
+
#include <linux/time.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -132,3 +135,5 @@ int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug,
*r_plugin = plugin;
return 0;
}
+
+#endif