updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / hdjmod / kernel_2.6.39_fix.patch
blob147b315b8a35f27a9eaa44d694870fec0514994d
1 --- midi.c.orig 2009-01-27 15:25:50.000000000 +0100
2 +++ midi.c 2011-05-30 21:47:18.000000000 +0200
3 @@ -60,7 +60,7 @@
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,