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

From: Miles Lane (miles@megapathdsl.net)
Date: Sun Jun 09 2002 - 18:36:46 EST


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

        Miles

--- linux/sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002
+++ linux/sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002
@@ -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>

diff -u -r ../tmp2/emufx.c sound/pci/emu10k1/emufx.c
--- ../tmp2/emufx.c Thu May 30 23:12:54 2002
+++ sound/pci/emu10k1/emufx.c Sun Jun 9 16:25:12 2002
@@ -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>
diff -u -r ../tmp2/emumixer.c sound/pci/emu10k1/emumixer.c
--- ../tmp2/emumixer.c Thu May 30 23:19:29 2002
+++ sound/pci/emu10k1/emumixer.c Sun Jun 9 16:24:29 2002
@@ -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>

diff -u -r ../tmp2/emupcm.c sound/pci/emu10k1/emupcm.c
--- ../tmp2/emupcm.c Thu May 30 23:13:53 2002
+++ sound/pci/emu10k1/emupcm.c Sun Jun 9 16:10:40 2002
@@ -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>

diff -u -r ../tmp2/emuproc.c sound/pci/emu10k1/emuproc.c
--- ../tmp2/emuproc.c Thu May 30 23:13:53 2002
+++ sound/pci/emu10k1/emuproc.c Sun Jun 9 16:23:41 2002
@@ -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>

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:15 EST