X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fseq%2Finstr%2Fainstr_iw.c;h=39ff72b2aab367f72f26db366da4aa6cecc929dd;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=005171abe94dc9b17efe09652bac962830953d67;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/core/seq/instr/ainstr_iw.c b/sound/core/seq/instr/ainstr_iw.c index 005171abe..39ff72b2a 100644 --- a/sound/core/seq/instr/ainstr_iw.c +++ b/sound/core/seq/instr/ainstr_iw.c @@ -31,8 +31,6 @@ MODULE_AUTHOR("Jaroslav Kysela "); MODULE_DESCRIPTION("Advanced Linux Sound Architecture IWFFFF support."); MODULE_LICENSE("GPL"); -char *snd_seq_iwffff_id = SNDRV_SEQ_INSTR_ID_INTERWAVE; - static unsigned int snd_seq_iwffff_size(unsigned int size, unsigned int format) { unsigned int result = size; @@ -595,7 +593,7 @@ int snd_seq_iwffff_init(snd_iwffff_ops_t *ops, ops->private_data = private_data; ops->kops.private_data = ops; ops->kops.add_len = sizeof(iwffff_instrument_t); - ops->kops.instr_type = snd_seq_iwffff_id; + ops->kops.instr_type = SNDRV_SEQ_INSTR_ID_INTERWAVE; ops->kops.put = snd_seq_iwffff_put; ops->kops.get = snd_seq_iwffff_get; ops->kops.get_size = snd_seq_iwffff_get_size; @@ -621,5 +619,4 @@ static void __exit alsa_ainstr_iw_exit(void) module_init(alsa_ainstr_iw_init) module_exit(alsa_ainstr_iw_exit) -EXPORT_SYMBOL(snd_seq_iwffff_id); EXPORT_SYMBOL(snd_seq_iwffff_init);