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

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

diff -u --recursive --new-file v2.1.44/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -724,7 +724,11 @@
   		return 0;
   
 	printk(KERN_INFO "lp: driver loaded but no devices found\n");
+#ifdef MODULE
+	return 0;
+#else	
 	return 1;
+#endif
 }
 
 #ifdef MODULE

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