X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fseq%2Finstr%2Fainstr_simple.c;h=6183d21510345c9cb9f1c427235ffcf6724d0c2c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=8ae5d10e51c164ad341cc06f421e0f9b73849d27;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/core/seq/instr/ainstr_simple.c b/sound/core/seq/instr/ainstr_simple.c index 8ae5d10e5..6183d2151 100644 --- a/sound/core/seq/instr/ainstr_simple.c +++ b/sound/core/seq/instr/ainstr_simple.c @@ -31,8 +31,6 @@ MODULE_AUTHOR("Jaroslav Kysela "); MODULE_DESCRIPTION("Advanced Linux Sound Architecture Simple Instrument support."); MODULE_LICENSE("GPL"); -char *snd_seq_simple_id = SNDRV_SEQ_INSTR_ID_SIMPLE; - static unsigned int snd_seq_simple_size(unsigned int size, unsigned int format) { unsigned int result = size; @@ -188,7 +186,7 @@ int snd_seq_simple_init(snd_simple_ops_t *ops, ops->private_data = private_data; ops->kops.private_data = ops; ops->kops.add_len = sizeof(simple_instrument_t); - ops->kops.instr_type = snd_seq_simple_id; + ops->kops.instr_type = SNDRV_SEQ_INSTR_ID_SIMPLE; ops->kops.put = snd_seq_simple_put; ops->kops.get = snd_seq_simple_get; ops->kops.get_size = snd_seq_simple_get_size; @@ -214,5 +212,4 @@ static void __exit alsa_ainstr_simple_exit(void) module_init(alsa_ainstr_simple_init) module_exit(alsa_ainstr_simple_exit) -EXPORT_SYMBOL(snd_seq_simple_id); EXPORT_SYMBOL(snd_seq_simple_init);