# HG changeset patch # User arpi # Date 1020014560 0 # Node ID e20ef52a4e3f73ec57e43e223c3ffea243549e9e # Parent f4a3cb48226ade07dacfbe00df45b7e239ae8cdd patch that should fix the "isofs uses mga_vid" bug by Attila Kinali diff -r f4a3cb48226a -r e20ef52a4e3f drivers/mga_vid.c --- a/drivers/mga_vid.c Sun Apr 28 05:23:05 2002 +0000 +++ b/drivers/mga_vid.c Sun Apr 28 17:22:40 2002 +0000 @@ -109,7 +109,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) #include -unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) +static unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) { unsigned long result = 0,value; @@ -134,7 +134,7 @@ return result; } -long simple_strtol(const char *cp,char **endp,unsigned int base) +static long simple_strtol(const char *cp,char **endp,unsigned int base) { if(*cp=='-') return -simple_strtoul(cp+1,endp,base); @@ -1085,7 +1085,7 @@ } -void mga_handle_irq(int irq, void *dev_id, struct pt_regs *pregs) { +static void mga_handle_irq(int irq, void *dev_id, struct pt_regs *pregs) { // static int frame=0; // static int counter=0; long int cc;