patch-2.0.37 linux/drivers/char/tga.c

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

diff -u --recursive --new-file v2.0.36/linux/drivers/char/tga.c linux/drivers/char/tga.c
@@ -40,6 +40,7 @@
 
 extern void register_console(void (*proc)(const char *));
 extern void console_print(const char *);
+extern void set_palette (void); /* vga.c */
 
 /* TGA hardware description (minimal) */
 /*
@@ -484,11 +485,6 @@
 	tga_init_video();
 	tga_clear_screen();
 
-#ifdef CONFIG_VGA_CONSOLE
-	/* if both are configured, we are using a dispatch table,
-	   so we must set the index */
-	curr_cons = 1;
-#endif
 }
 
 unsigned char PLLbits[7] = { 0x80, 0x04, 0x00, 0x24, 0x44, 0x80, 0xb8 };

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