patch-1.3.78 linux/drivers/char/lp.c

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

diff -u --recursive --new-file v1.3.77/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -602,7 +602,9 @@
 {
 	int offset = 0;
 	int count = 0;
+#ifdef MODULE
 	int failed = 0;
+#endif
 
 	if (register_chrdev(LP_MAJOR,"lp",&lp_fops)) {
 		printk("lp: unable to get major %d\n", LP_MAJOR);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this