Skip to contentSkip to conversation

emu10k1, 2.5.21

DISCUSSION Rui Sousa 1 participant 1 message Jun 10, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Rui Sousa

author
#1 lore raw

Cory Watson writes:

This is for the ALSA emu10k1 driver, not the OSS.

Rui Sousa

Quoted 67 lines

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>
 

diff -urN a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c

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

diff -urN a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c

sound/pci/emu10k1/emumpu401.c +1 -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>
 

diff -urN a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c

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

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>
 
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

--
Crie o seu Email Grátis no Clix em
http://registo.clix.pt/