Commit 5cc25f27 authored by Henning Meier-Geinitz's avatar Henning Meier-Geinitz Committed by Greg Kroah-Hartman

[PATCH] USB scanner driver: use static declarations

Use static declarations for usb_scanner_init/usb_scanner_exit
(Daniele Bellucci).
parent 5e226e83
...@@ -369,6 +369,11 @@ ...@@ -369,6 +369,11 @@
* - Added vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. * - Added vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners.
* - Clean up irq urb when not enough memory is available. * - Clean up irq urb when not enough memory is available.
* *
* 0.4.15 2003-09-12
* - Use static declarations for usb_scanner_init/usb_scanner_exit
* (Daniele Bellucci).
*
*
* TODO * TODO
* - Performance * - Performance
* - Select/poll methods * - Select/poll methods
...@@ -1169,13 +1174,13 @@ usb_driver scanner_driver = { ...@@ -1169,13 +1174,13 @@ usb_driver scanner_driver = {
.id_table = ids, .id_table = ids,
}; };
void __exit static void __exit
usb_scanner_exit(void) usb_scanner_exit(void)
{ {
usb_deregister(&scanner_driver); usb_deregister(&scanner_driver);
} }
int __init static int __init
usb_scanner_init (void) usb_scanner_init (void)
{ {
if (usb_register(&scanner_driver) < 0) if (usb_register(&scanner_driver) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment