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
- Lines: 12
- Date:
Wed Jul 16 19:22:50 1997
- Orig file:
v2.1.44/linux/drivers/char/lp.c
- Orig date:
Thu May 29 21:53:05 1997
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