diff options
Diffstat (limited to 'sound/core/oss/mixer_oss.c')
-rw-r--r-- | sound/core/oss/mixer_oss.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index 2d7a42014f51..f08e65a2bffe 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c | |||
@@ -1053,6 +1053,7 @@ static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mix | |||
1053 | return 0; | 1053 | return 0; |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | #ifdef CONFIG_PROC_FS | ||
1056 | /* | 1057 | /* |
1057 | */ | 1058 | */ |
1058 | #define MIXER_VOL(name) [SOUND_MIXER_##name] = #name | 1059 | #define MIXER_VOL(name) [SOUND_MIXER_##name] = #name |
@@ -1200,6 +1201,10 @@ static void snd_mixer_oss_proc_done(struct snd_mixer_oss *mixer) | |||
1200 | mixer->proc_entry = NULL; | 1201 | mixer->proc_entry = NULL; |
1201 | } | 1202 | } |
1202 | } | 1203 | } |
1204 | #else /* !CONFIG_PROC_FS */ | ||
1205 | #define snd_mixer_oss_proc_init(mix) | ||
1206 | #define snd_mixer_oss_proc_done(mix) | ||
1207 | #endif /* CONFIG_PROC_FS */ | ||
1203 | 1208 | ||
1204 | static void snd_mixer_oss_build(struct snd_mixer_oss *mixer) | 1209 | static void snd_mixer_oss_build(struct snd_mixer_oss *mixer) |
1205 | { | 1210 | { |