patch-2.3.13 linux/drivers/video/promcon.c

Next file: linux/drivers/video/q40fb.c
Previous file: linux/drivers/video/pm2fb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/video/promcon.c linux/drivers/video/promcon.c
@@ -104,7 +104,7 @@
 	return b - p;
 }
 
-__initfunc(const char *promcon_startup(void))
+const char __init *promcon_startup(void)
 {
 	const char *display_desc = "PROM";
 	int node;
@@ -128,8 +128,8 @@
 	return display_desc;
 }
 
-__initfunc(static void
-promcon_init_unimap(struct vc_data *conp))
+static void __init 
+promcon_init_unimap(struct vc_data *conp)
 {
 	mm_segment_t old_fs = get_fs();
 	struct unipair *p, *p1;
@@ -591,7 +591,7 @@
 	con_invert_region:	NULL,
 };
 
-__initfunc(void prom_con_init(void))
+void __init prom_con_init(void)
 {
 #ifdef CONFIG_DUMMY_CONSOLE
 	if (conswitchp == &dummy_con)

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