aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/mixer_oss.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-05-12 11:44:03 +0200
committerTakashi Iwai <tiwai@suse.de>2017-05-17 07:13:04 +0200
commit6d2412b80aabf5d77400fbb960ee041475df86aa (patch)
treec9a110ab8f92b4edc87426eec6238b5297bfe1f2 /include/sound/mixer_oss.h
parentALSA: pcm: Build pcm notifier code conditionally (diff)
downloadlinux-dev-6d2412b80aabf5d77400fbb960ee041475df86aa.tar.xz
linux-dev-6d2412b80aabf5d77400fbb960ee041475df86aa.zip
ALSA: Use IS_ENABLED() in common headers
Simplify the ifdef conditions with IS_ENABLED() macro in the common sound headers. No functional changes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/mixer_oss.h')
-rw-r--r--include/sound/mixer_oss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/mixer_oss.h b/include/sound/mixer_oss.h
index 13cb0b430a1b..930da10fb65b 100644
--- a/include/sound/mixer_oss.h
+++ b/include/sound/mixer_oss.h
@@ -22,7 +22,7 @@
*
*/
-#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE)
+#if IS_ENABLED(CONFIG_SND_MIXER_OSS)
#define SNDRV_OSS_MAX_MIXERS 32