[PATCH] Add missing include for forte.c driver

Geoffrey Lee (glee@gnupilgrims.org)
Tue, 11 Feb 2003 17:35:02 +0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-19919-1044956857-0001-2
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

The following patch adds a missing include asm/io.h which prevented
the compilation of this driver on alpha.

It compiles, but I don't know if it works as I have no hardware to test
this against.

Patch is against marcelo 2.4.21-pre4, status for 2.5 is unknown.

- G.

-- 
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";

--=_courier-19919-1044956857-0001-2 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="forte.c.patch"

--- linux-2.4.20/drivers/sound/forte.c.orig 2003-02-08 20:32:08.000000000 +0100 +++ linux-2.4.20/drivers/sound/forte.c 2003-02-08 20:32:21.000000000 +0100 @@ -53,6 +53,7 @@ #include <asm/uaccess.h> #include <asm/hardirq.h> +#include <asm/io.h> #define DRIVER_NAME "forte" #define DRIVER_VERSION "$Id: forte.c,v 1.55 2002/10/02 00:01:42 mkp Exp $"

--=_courier-19919-1044956857-0001-2--