|
@@ -548,18 +548,7 @@ static struct usb_driver synusb_driver = {
|
|
|
.supports_autosuspend = 1,
|
|
.supports_autosuspend = 1,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-static int __init synusb_init(void)
|
|
|
|
|
-{
|
|
|
|
|
- return usb_register(&synusb_driver);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-static void __exit synusb_exit(void)
|
|
|
|
|
-{
|
|
|
|
|
- usb_deregister(&synusb_driver);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-module_init(synusb_init);
|
|
|
|
|
-module_exit(synusb_exit);
|
|
|
|
|
|
|
+module_usb_driver(synusb_driver);
|
|
|
|
|
|
|
|
MODULE_AUTHOR("Rob Miller <rob@inpharmatica.co.uk>, "
|
|
MODULE_AUTHOR("Rob Miller <rob@inpharmatica.co.uk>, "
|
|
|
"Ron Lee <ron@debian.org>, "
|
|
"Ron Lee <ron@debian.org>, "
|