From: Miles Lane <miles@megapathdsl.net>
To: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@transmeta.com>
Subject: PATCH -- Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
Date: Sun, 09 Jun 2002 16:36:46 -0700 [thread overview]
Message-ID: <3D03E68E.8010704@megapathdsl.net> (raw)
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>
reply other threads:[~2002-06-09 23:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D03E68E.8010704@megapathdsl.net \
--to=miles@megapathdsl.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox