PATCH -- Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
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
@@ -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
@@ -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
@@ -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
@@ -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>