patch-2.4.0-test10 linux/drivers/char/lp.c

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

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -603,17 +603,10 @@
 }
 
 static struct console lpcons = {
-	"lp",
-	lp_console_write,
-	NULL,
-	lp_console_device,
-	NULL,
-	NULL,
-	NULL,
-	CON_PRINTBUFFER,
-	0,
-	0,
-	NULL
+	name:		"lp",
+	write:		lp_console_write,
+	device:		lp_console_device,
+	flags:		CON_PRINTBUFFER,
 };
 
 #endif /* console on line printer */

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