patch-2.3.48 linux/drivers/usb/printer.c
Next file: linux/drivers/usb/scanner.c
Previous file: linux/drivers/usb/mousedev.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Feb 23 11:27:14 2000
- Orig file:
v2.3.47/linux/drivers/usb/printer.c
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.47/linux/drivers/usb/printer.c linux/drivers/usb/printer.c
@@ -432,18 +432,17 @@
minor: USBLP_MINOR_BASE
};
-static void __exit usb_printer_cleanup(void)
-{
- usb_deregister(&usblp_driver);
-}
-
-static int __init usb_printer_init(void)
+static int __init usblp_init(void)
{
if (usb_register(&usblp_driver))
return -1;
-
return 0;
}
-module_init(usb_printer_init);
-module_exit(usb_printer_cleanup);
+static void __exit usblp_exit(void)
+{
+ usb_deregister(&usblp_driver);
+}
+
+module_init(usblp_init);
+module_exit(usblp_exit);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)