aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/oss/route.c
diff options
context:
space:
mode:
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 726c5caa3fd..f99a54e6551 100644
--- a/sound/core/oss/route.c
+++ b/sound/core/oss/route.c
@@ -20,6 +20,9 @@
20 */ 20 */
21 21
22#include <sound/driver.h> 22#include <sound/driver.h>
23
24#ifdef CONFIG_SND_PCM_OSS_PLUGINS
25
23#include <linux/slab.h> 26#include <linux/slab.h>
24#include <linux/time.h> 27#include <linux/time.h>
25#include <sound/core.h> 28#include <sound/core.h>
@@ -519,3 +522,5 @@ int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug,
519 *r_plugin = plugin; 522 *r_plugin = plugin;
520 return 0; 523 return 0;
521} 524}
525
526#endif