public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* compile error and fix in v_midi.c
@ 2002-09-22 15:37 Thomas Molina
  2002-09-22 15:51 ` Frank Davis
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Molina @ 2002-09-22 15:37 UTC (permalink / raw)
  To: linux-kernel


Compiling 2.5.3[78] I get the following:

v_midi.c: In function `v_midi_open':
v_midi.c:55: structure has no member named `lock'
v_midi.c:58: structure has no member named `lock'
v_midi.c:62: structure has no member named `lock'
v_midi.c: In function `v_midi_close':
v_midi.c:83: structure has no member named `lock'
v_midi.c:87: structure has no member named `lock'
v_midi.c: In function `attach_v_midi':
v_midi.c:223: structure has no member named `lock'
v_midi.c:244: structure has no member named `lock'
make[2]: *** [v_midi.o] Error 1
make[1]: *** [oss] Error 2
make: *** [sound] Error 2

The following patch fixes that:

--- linux-2.5-tm/sound/oss/v_midi.h.old	Sun Sep 22 10:01:43 2002
+++ linux-2.5-tm/sound/oss/v_midi.h	Sun Sep 22 10:02:48 2002
@@ -11,5 +11,6 @@
 	   int input_opened;
 	   int intr_active;
 	   void (*midi_input_intr) (int dev, unsigned char data);
+	   spinlock_t lock;
 	} vmidi_devc;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-22 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-22 15:37 compile error and fix in v_midi.c Thomas Molina
2002-09-22 15:51 ` Frank Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox