aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2004-11-11 13:41:13 +0100
committerJaroslav Kysela <perex@suse.cz>2004-11-11 13:41:13 +0100
commit42cd970696c7b033076626ee7c11a46b8c08a8ed (patch)
tree2737cc0c1cad58c5e29e6b5327590a0fda6f8061 /sound
parent7ca94f9af6f26c1883b1cf81a6daf75cb5e6e7fa (diff)
downloadhistory-42cd970696c7b033076626ee7c11a46b8c08a8ed.tar.gz
[ALSA] remove snd_seq_simple_id
Instrument layer,GUS Library,Trident driver remove uses of the snd_seq_simple_id symbol because it is no longer exported Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/gus/gus_sample.c2
-rw-r--r--sound/pci/trident/trident_synth.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/gus/gus_sample.c b/sound/isa/gus/gus_sample.c
index 44d4036d515606..4290e03acd519f 100644
--- a/sound/isa/gus/gus_sample.c
+++ b/sound/isa/gus/gus_sample.c
@@ -42,7 +42,7 @@ static void select_instrument(snd_gus_card_t * gus, snd_gus_voice_t * v)
instr = snd_seq_instr_find(gus->gf1.ilist, &v->instr, 0, 1);
if (instr != NULL) {
if (instr->ops) {
- if (instr->ops->instr_type == snd_seq_simple_id)
+ if (!strcmp(instr->ops->instr_type, SNDRV_SEQ_INSTR_ID_SIMPLE))
snd_gf1_simple_init(v);
}
snd_seq_instr_free_use(gus->gf1.ilist, instr);
diff --git a/sound/pci/trident/trident_synth.c b/sound/pci/trident/trident_synth.c
index 72d36b11bcd3d5..f783bd2bddb2a2 100644
--- a/sound/pci/trident/trident_synth.c
+++ b/sound/pci/trident/trident_synth.c
@@ -618,7 +618,7 @@ static void select_instrument(trident_t * trident, snd_trident_voice_t * v)
instr = snd_seq_instr_find(trident->synth.ilist, &v->instr, 0, 1);
if (instr != NULL) {
if (instr->ops) {
- if (instr->ops->instr_type == snd_seq_simple_id)
+ if (!strcmp(instr->ops->instr_type, SNDRV_SEQ_INSTR_ID_SIMPLE))
snd_trident_simple_init(v);
}
snd_seq_instr_free_use(trident->synth.ilist, instr);