diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-05-12 11:52:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-17 07:13:05 +0200 |
commit | 2e2d4cb450e951b90629b3f988c48ed01c69c1ac (patch) | |
tree | fb2ebb2d39d71572d2694e48be4b1ebc31bb66a9 /sound/drivers/opl4/opl4_local.h | |
parent | 88faa38435cbfdf3e733a670a009683eb7057cdc (diff) | |
download | linux-2e2d4cb450e951b90629b3f988c48ed01c69c1ac.tar.gz |
ALSA: opl4: Use IS_REACHABLE()
Rewrite the complex ifdef condition with IS_REACHABLE().
The ifdef in opl4_local.h was without defined(MODLE) check, but this
is likely the oversight. Use IS_REACHABLE() here as well.
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl4/opl4_local.h')
-rw-r--r-- | sound/drivers/opl4/opl4_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl4/opl4_local.h b/sound/drivers/opl4/opl4_local.h index 9a41bdebce6b..d5bac93f8245 100644 --- a/sound/drivers/opl4/opl4_local.h +++ b/sound/drivers/opl4/opl4_local.h @@ -184,7 +184,7 @@ struct snd_opl4 { #endif struct mutex access_mutex; -#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE) +#if IS_REACHABLE(CONFIG_SND_SEQUENCER) int used; int seq_dev_num; |