[PATCH] Make es1371 compile again in 2.3.1pre4

Andi Kleen (ak@muc.de)
Thu, 13 May 1999 13:09:09 +0200


Obvious patch.

-Andi

Index: linux/drivers/sound/es1371.c
===================================================================
RCS file: /vger/u4/cvs/linux/drivers/sound/es1371.c,v
retrieving revision 1.11
diff -u -u -r1.11 es1371.c
--- es1371.c 1999/05/12 11:16:38 1.11
+++ es1371.c 1999/05/13 10:23:38
@@ -2751,7 +2751,7 @@
init_waitqueue_head(&s->open_wait);
init_waitqueue_head(&s->midi.iwait);
init_waitqueue_head(&s->midi.owait);
- s->open_sem = MUTEX;
+ init_MUTEX(&s->open_sem);
s->magic = ES1371_MAGIC;
s->io = pcidev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
s->irq = pcidev->irq;

-- 
This is like TV. I don't like TV.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/