Skip to contentSkip to conversation

PATCH -- Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"

PATCH Miles Lane 1 participant 1 message Jun 9, 2002 Sound

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

This patch adds linux/init.h in all the necessary places to get the emu10k1 driver building again.

Miles

sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002 renamed from sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002 +0 -0
@@ -22,6 +22,7 @@

#define __NO_VERSION__
#include <sound/driver.h>
#include <linux/time.h>
+#include <linux/init.h>
#include <sound/core.h>
#include <sound/emu10k1.h>

pci/emu10k1/emufx.c renamed from tmp2/emufx.c +1 -0
diff -u -r ../tmp2/emufx.c sound/pci/emu10k1/emufx.c
@@ -28,6 +28,7 @@
 #define __NO_VERSION__
 #include <sound/driver.h>
 #include <linux/delay.h>
+#include <linux/init.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
pci/emu10k1/emumixer.c renamed from tmp2/emumixer.c +1 -0
diff -u -r ../tmp2/emumixer.c sound/pci/emu10k1/emumixer.c
@@ -29,6 +29,7 @@
 #define __NO_VERSION__
 #include <sound/driver.h>
 #include <linux/time.h>
+#include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
pci/emu10k1/emupcm.c renamed from tmp2/emupcm.c +1 -0
diff -u -r ../tmp2/emupcm.c sound/pci/emu10k1/emupcm.c
@@ -29,6 +29,7 @@
 #include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
+#include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
pci/emu10k1/emuproc.c renamed from tmp2/emuproc.c +1 -0
diff -u -r ../tmp2/emuproc.c sound/pci/emu10k1/emuproc.c
@@ -28,6 +28,7 @@
 #define __NO_VERSION__
 #include <sound/driver.h>
 #include <linux/slab.h>
+#include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>