patch-2.0.37 linux/drivers/char/selection.h

Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/drivers/char/selection.h linux/drivers/char/selection.h
@@ -66,12 +66,13 @@
 #ifdef CONFIG_TGA_CONSOLE
 
 # ifdef CONFIG_VGA_CONSOLE
-extern int curr_cons;
 extern const struct console_desc cons_devices[];
 # endif
 
 extern unsigned long video_mem_term;
 
+int tga_blitc (unsigned int, unsigned long);
+
 /*
  * TGA console screen memory access
  * 
@@ -110,8 +111,8 @@
 		 * TGA might need the char blitted to the screen,
 		 * but check first, we could be running on a VGA.
 		 */
-                if (con_blitc && IS_VIDEO_MEMORY(addr))
-			con_blitc(val, (unsigned long) addr);
+                if (tga_blitc && IS_VIDEO_MEMORY(addr))
+			tga_blitc(val, (unsigned long) addr);
         } else
                 writew(val, (unsigned long) addr);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov