Skip to contentSkip to conversation

emu10k1, 2.5.21

PATCH New Cory Watson 1 participant 1 message Jun 10, 2002 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 emu10k1, 2.5.21

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

sound/pci/emu10k1/emufx.c +1 -0
@@ -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>
 
sound/pci/emu10k1/emumixer.c +1 -0
diff -urN a/sound/pci/emu10k1/emumixer.c b/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>
 
sound/pci/emu10k1/emumpu401.c +1 -0
diff -urN a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c
@@ -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>
 
sound/pci/emu10k1/emupcm.c +1 -0
diff -urN a/sound/pci/emu10k1/emupcm.c b/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>
 

diff -urN -X dontdiff a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c

sound/pci/emu10k1/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>
 

--
Cory 'G' Watson

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

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

Signature · 5 lines
Cory 'G' Watson

"You know the old saying -- any technology sufficiently advanced is 
indistinguishable from a Perl script."
     - "Programming Perl", page 301
sound/pci/emu10k1/emufx.c +1 -0
diff -urN a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c
@@ -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>
 
sound/pci/emu10k1/emumixer.c +1 -0
diff -urN a/sound/pci/emu10k1/emumixer.c b/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>
 
sound/pci/emu10k1/emumpu401.c +1 -0
diff -urN a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c
@@ -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>
 
sound/pci/emu10k1/emupcm.c +1 -0
diff -urN a/sound/pci/emu10k1/emupcm.c b/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>
 
sound/pci/emu10k1/emuproc.c +1 -0
diff -urN -X dontdiff a/sound/pci/emu10k1/emuproc.c b/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>
 

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

Cory Watson ([email protected])