diff options
Diffstat (limited to 'sound/synth/emux/emux.c')
-rw-r--r-- | sound/synth/emux/emux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/synth/emux/emux.c b/sound/synth/emux/emux.c index 9312cd8a6fdd..b9981e8c0027 100644 --- a/sound/synth/emux/emux.c +++ b/sound/synth/emux/emux.c | |||
@@ -47,7 +47,7 @@ int snd_emux_new(struct snd_emux **remu) | |||
47 | mutex_init(&emu->register_mutex); | 47 | mutex_init(&emu->register_mutex); |
48 | 48 | ||
49 | emu->client = -1; | 49 | emu->client = -1; |
50 | #ifdef CONFIG_SND_SEQUENCER_OSS | 50 | #if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) |
51 | emu->oss_synth = NULL; | 51 | emu->oss_synth = NULL; |
52 | #endif | 52 | #endif |
53 | emu->max_voices = 0; | 53 | emu->max_voices = 0; |
@@ -123,7 +123,7 @@ int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, ch | |||
123 | snd_emux_init_voices(emu); | 123 | snd_emux_init_voices(emu); |
124 | 124 | ||
125 | snd_emux_init_seq(emu, card, index); | 125 | snd_emux_init_seq(emu, card, index); |
126 | #ifdef CONFIG_SND_SEQUENCER_OSS | 126 | #if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) |
127 | snd_emux_init_seq_oss(emu); | 127 | snd_emux_init_seq_oss(emu); |
128 | #endif | 128 | #endif |
129 | snd_emux_init_virmidi(emu, card); | 129 | snd_emux_init_virmidi(emu, card); |
@@ -150,7 +150,7 @@ int snd_emux_free(struct snd_emux *emu) | |||
150 | 150 | ||
151 | snd_emux_proc_free(emu); | 151 | snd_emux_proc_free(emu); |
152 | snd_emux_delete_virmidi(emu); | 152 | snd_emux_delete_virmidi(emu); |
153 | #ifdef CONFIG_SND_SEQUENCER_OSS | 153 | #if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) |
154 | snd_emux_detach_seq_oss(emu); | 154 | snd_emux_detach_seq_oss(emu); |
155 | #endif | 155 | #endif |
156 | snd_emux_detach_seq(emu); | 156 | snd_emux_detach_seq(emu); |