1 --- midi.c.orig 2009-01-27 15:25:50.000000000 +0100
2 +++ midi.c 2011-05-30 21:47:18.000000000 +0200
5 unsigned long channel_list_initialized = 0;
6 struct midi_channel_elem channel_list[NUM_MIDI_CHANNELS];
7 -spinlock_t channel_list_lock = SPIN_LOCK_UNLOCKED;
8 +DEFINE_SPINLOCK(channel_list_lock);
10 static struct usb_protocol_ops snd_hdjmidi_standard_ops = {
11 .input = snd_hdjmidi_standard_input,