mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] emu10k1, 2.5.21
@ 2002-06-10  0:16 Cory Watson
  0 siblings, 0 replies; only message in thread
From: Cory Watson @ 2002-06-10  0:16 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]

emu10k1 wouldn't compile for me, this patch fixes it via #including
linux/init.h.  Perhaps this is the wrong way, but it works for me.

Attached, and below:

iff -urN a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c
--- a/sound/pci/emu10k1/emufx.c	Sun May  5 22:37:52 2002
+++ b/sound/pci/emu10k1/emufx.c	Sun Jun  9 15:04:01 2002
@@ -29,6 +29,7 @@
 #include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>

diff -urN a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
--- a/sound/pci/emu10k1/emumixer.c	Sun May  5 22:37:58 2002
+++ b/sound/pci/emu10k1/emumixer.c	Sun Jun  9 15:03:36 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 -urN a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c
--- a/sound/pci/emu10k1/emumpu401.c	Sun May  5 22:37:55 2002
+++ b/sound/pci/emu10k1/emumpu401.c	Sun Jun  9 15:01:36 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 -urN a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
--- a/sound/pci/emu10k1/emupcm.c	Sun May  5 22:37:53 2002
+++ b/sound/pci/emu10k1/emupcm.c	Sun Jun  9 15:02:52 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 -urN -X dontdiff a/sound/pci/emu10k1/emuproc.c
b/sound/pci/emu10k1/emuproc.c
--- a/sound/pci/emu10k1/emuproc.c	Sun May  5 22:37:59 2002
+++ b/sound/pci/emu10k1/emuproc.c	Sun Jun  9 15:03:15 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>

--
Cory 'G' Watson

"You know the old saying -- any technology sufficiently advanced is
indistinguishable from a Perl script."
     - "Programming Perl", page 301

-------------------------------------------------------



-- 
Cory 'G' Watson

"You know the old saying -- any technology sufficiently advanced is 
indistinguishable from a Perl script."
     - "Programming Perl", page 301

[-- Attachment #2: make-emu10k1-compile.patch --]
[-- Type: text/x-diff, Size: 1825 bytes --]

diff -urN a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c
--- a/sound/pci/emu10k1/emufx.c	Sun May  5 22:37:52 2002
+++ b/sound/pci/emu10k1/emufx.c	Sun Jun  9 15:04:01 2002
@@ -29,6 +29,7 @@
 #include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
diff -urN a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
--- a/sound/pci/emu10k1/emumixer.c	Sun May  5 22:37:58 2002
+++ b/sound/pci/emu10k1/emumixer.c	Sun Jun  9 15:03:36 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 -urN a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c
--- a/sound/pci/emu10k1/emumpu401.c	Sun May  5 22:37:55 2002
+++ b/sound/pci/emu10k1/emumpu401.c	Sun Jun  9 15:01:36 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 -urN a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
--- a/sound/pci/emu10k1/emupcm.c	Sun May  5 22:37:53 2002
+++ b/sound/pci/emu10k1/emupcm.c	Sun Jun  9 15:02:52 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 -urN -X dontdiff a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c
--- a/sound/pci/emu10k1/emuproc.c	Sun May  5 22:37:59 2002
+++ b/sound/pci/emu10k1/emuproc.c	Sun Jun  9 15:03:15 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>
 

[-- Attachment #3: README --]
[-- Type: text/plain, Size: 105 bytes --]

Adds linux/init.h to emufx.c, emumixer.c, emumpu401.c, emupcm.c, emupro.c

Cory Watson (gphat@cafes.net)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-10  0:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10  0:16 [PATCH] emu10k1, 2.5.21 Cory Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®