changeset 5884:e20ef52a4e3f

patch that should fix the "isofs uses mga_vid" bug by Attila Kinali <kinali@gmx.net>
author arpi
date Sun, 28 Apr 2002 17:22:40 +0000
parents f4a3cb48226a
children febfa0a1d322
files drivers/mga_vid.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <linux/ctype.h>
 
-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;