X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fseq%2Finstr%2Fainstr_gf1.c;h=0779c41ca03769cc84eb6d51eaad6f8094698c93;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=6c21e52ca61ea93901e3b73d19791f90c8316128;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/core/seq/instr/ainstr_gf1.c b/sound/core/seq/instr/ainstr_gf1.c index 6c21e52ca..0779c41ca 100644 --- a/sound/core/seq/instr/ainstr_gf1.c +++ b/sound/core/seq/instr/ainstr_gf1.c @@ -31,8 +31,6 @@ MODULE_AUTHOR("Jaroslav Kysela "); MODULE_DESCRIPTION("Advanced Linux Sound Architecture GF1 (GUS) Patch support."); MODULE_LICENSE("GPL"); -char *snd_seq_gf1_id = SNDRV_SEQ_INSTR_ID_GUS_PATCH; - static unsigned int snd_seq_gf1_size(unsigned int size, unsigned int format) { unsigned int result = size; @@ -331,7 +329,7 @@ int snd_seq_gf1_init(snd_gf1_ops_t *ops, ops->private_data = private_data; ops->kops.private_data = ops; ops->kops.add_len = sizeof(gf1_instrument_t); - ops->kops.instr_type = snd_seq_gf1_id; + ops->kops.instr_type = SNDRV_SEQ_INSTR_ID_GUS_PATCH; ops->kops.put = snd_seq_gf1_put; ops->kops.get = snd_seq_gf1_get; ops->kops.get_size = snd_seq_gf1_get_size; @@ -357,5 +355,4 @@ static void __exit alsa_ainstr_gf1_exit(void) module_init(alsa_ainstr_gf1_init) module_exit(alsa_ainstr_gf1_exit) -EXPORT_SYMBOL(snd_seq_gf1_id); EXPORT_SYMBOL(snd_seq_gf1_init);