lkml.org 
[lkml]   [2003]   [Feb]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 11 Feb 2003 17:35:02 +0800
FromGeoffrey Lee <>
Subject[PATCH] Add missing include for forte.c driver
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";


--- 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 $"
\
 
 \ /
  Last update: 2005-03-22 12:33    [from the cache]
©2003-2008