aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/oss/pcm_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/oss/pcm_oss.c')
-rw-r--r--sound/core/oss/pcm_oss.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c
index 2ae283c7b28a..16df1246a131 100644
--- a/sound/core/oss/pcm_oss.c
+++ b/sound/core/oss/pcm_oss.c
@@ -2269,6 +2269,7 @@ static int snd_pcm_oss_mmap(struct file *file, struct vm_area_struct *area)
2269 return 0; 2269 return 0;
2270} 2270}
2271 2271
2272#ifdef CONFIG_PROC_FS
2272/* 2273/*
2273 * /proc interface 2274 * /proc interface
2274 */ 2275 */
@@ -2420,6 +2421,10 @@ static void snd_pcm_oss_proc_done(struct snd_pcm *pcm)
2420 } 2421 }
2421 } 2422 }
2422} 2423}
2424#else /* !CONFIG_PROC_FS */
2425#define snd_pcm_oss_proc_init(pcm)
2426#define snd_pcm_oss_proc_done(pcm)
2427#endif /* CONFIG_PROC_FS */
2423 2428
2424/* 2429/*
2425 * ENTRY functions 2430 * ENTRY functions