diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-10 12:48:47 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-10 14:42:00 +0400 |
commit | 8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209 (patch) | |
tree | 9edb1030921070d747288d4cea33dc8500dd1a5c /sound/drivers/opl3 | |
parent | 0a11458cbbb81d044c8fc5a77a7584cd33f08c48 (diff) | |
download | linux-8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209.tar.xz |
ALSA: Replace with IS_ENABLED()
Replace the lengthy #if defined(XXX) || defined(XXX_MODULE) with the
new IS_ENABLED() macro.
The patch still doesn't cover all ifdefs. For example, the dependency
on CONFIG_GAMEPORT is still open-coded because this also has an extra
dependency on MODULE. Similarly, an open-coded ifdef in pcm_oss.c and
some sequencer-related stuff are left untouched.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl3')
-rw-r--r-- | sound/drivers/opl3/opl3_synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl3/opl3_synth.c b/sound/drivers/opl3/opl3_synth.c index 742a4b642fd9..ddcc1a325a61 100644 --- a/sound/drivers/opl3/opl3_synth.c +++ b/sound/drivers/opl3/opl3_synth.c @@ -24,7 +24,7 @@ #include <sound/opl3.h> #include <sound/asound_fm.h> -#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE) +#if IS_ENABLED(CONFIG_SND_SEQUENCER) #define OPL3_SUPPORT_SYNTH #endif |