ChangeSet 1.1325.4.2, 2003/09/23 16:57:40-07:00, henning@meier-geinitz.de [PATCH] USB scanner driver: use static declarations Use static declarations for usb_scanner_init/usb_scanner_exit (Daniele Bellucci). drivers/usb/image/scanner.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff -Nru a/drivers/usb/image/scanner.c b/drivers/usb/image/scanner.c --- a/drivers/usb/image/scanner.c Thu Sep 25 14:32:39 2003 +++ b/drivers/usb/image/scanner.c Thu Sep 25 14:32:39 2003 @@ -369,6 +369,11 @@ * - Added vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. * - 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 * - Performance * - Select/poll methods @@ -1169,13 +1174,13 @@ .id_table = ids, }; -void __exit +static void __exit usb_scanner_exit(void) { usb_deregister(&scanner_driver); } -int __init +static int __init usb_scanner_init (void) { if (usb_register(&scanner_driver) < 0)