aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/opl4/opl4_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/opl4/opl4_lib.c')
-rw-r--r--sound/drivers/opl4/opl4_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/opl4/opl4_lib.c b/sound/drivers/opl4/opl4_lib.c
index 89c7aa04b3bc..bc345d564f8d 100644
--- a/sound/drivers/opl4/opl4_lib.c
+++ b/sound/drivers/opl4/opl4_lib.c
@@ -153,7 +153,7 @@ static int snd_opl4_detect(struct snd_opl4 *opl4)
153 return 0; 153 return 0;
154} 154}
155 155
156#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) 156#if IS_ENABLED(CONFIG_SND_SEQUENCER)
157static void snd_opl4_seq_dev_free(struct snd_seq_device *seq_dev) 157static void snd_opl4_seq_dev_free(struct snd_seq_device *seq_dev)
158{ 158{
159 struct snd_opl4 *opl4 = seq_dev->private_data; 159 struct snd_opl4 *opl4 = seq_dev->private_data;
@@ -249,7 +249,7 @@ int snd_opl4_create(struct snd_card *card,
249 snd_opl4_create_mixer(opl4); 249 snd_opl4_create_mixer(opl4);
250 snd_opl4_create_proc(opl4); 250 snd_opl4_create_proc(opl4);
251 251
252#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) 252#if IS_ENABLED(CONFIG_SND_SEQUENCER)
253 opl4->seq_client = -1; 253 opl4->seq_client = -1;
254 if (opl4->hardware < OPL3_HW_OPL4_ML) 254 if (opl4->hardware < OPL3_HW_OPL4_ML)
255 snd_opl4_create_seq_dev(opl4, seq_device); 255 snd_opl4_create_seq_dev(opl4, seq_device);