mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rui Sousa" <rui.p.m.sousa@clix.pt>
To: Cory Watson <gphat@cafes.net>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: emu10k1, 2.5.21
Date: Mon, 10 Jun 2002 18:24:31 GMT	[thread overview]
Message-ID: <20020610182431.15750.qmail@webmail.clix.pt> (raw)
In-Reply-To: <auto-000027137622@mx12.cluster1.charter.net>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2434 bytes --]


Cory Watson writes:

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

Rui Sousa

> 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





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

       reply	other threads:[~2002-06-10 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <auto-000027137622@mx12.cluster1.charter.net>
2002-06-10 18:24 ` Rui Sousa [this message]
2002-06-10 18:26 gphat

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=20020610182431.15750.qmail@webmail.clix.pt \
    --to=rui.p.m.sousa@clix.pt \
    --cc=alsa-devel@alsa-project.org \
    --cc=gphat@cafes.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®