patch-2.4.0-test10 linux/include/linux/console.h

Next file: linux/include/linux/console_struct.h
Previous file: linux/include/linux/coda_linux.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/include/linux/console.h linux/include/linux/console.h
@@ -50,16 +50,16 @@
 	unsigned long (*con_getxy)(struct vc_data *, unsigned long, int *, int *);
 };
 
-extern struct consw *conswitchp;
+extern const struct consw *conswitchp;
 
-extern struct consw dummy_con;	/* dummy console buffer */
-extern struct consw fb_con;	/* frame buffer based console */
-extern struct consw vga_con;	/* VGA text console */
-extern struct consw newport_con;	/* SGI Newport console  */
-extern struct consw prom_con;	/* SPARC PROM console */
+extern const struct consw dummy_con;	/* dummy console buffer */
+extern const struct consw fb_con;	/* frame buffer based console */
+extern const struct consw vga_con;	/* VGA text console */
+extern const struct consw newport_con;	/* SGI Newport console  */
+extern const struct consw prom_con;	/* SPARC PROM console */
 
-void take_over_console(struct consw *sw, int first, int last, int deflt);
-void give_up_console(struct consw *sw);
+void take_over_console(const struct consw *sw, int first, int last, int deflt);
+void give_up_console(const struct consw *sw);
 
 /* scroll */
 #define SM_UP       (1)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)