diff options
Diffstat (limited to 'drivers/media/video/gspca/gl860/gl860.c')
-rw-r--r-- | drivers/media/video/gspca/gl860/gl860.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c index d74da8e0fef9..c84e26006fc3 100644 --- a/drivers/media/video/gspca/gl860/gl860.c +++ b/drivers/media/video/gspca/gl860/gl860.c | |||
@@ -523,22 +523,7 @@ static struct usb_driver sd_driver = { | |||
523 | 523 | ||
524 | /*====================== Init and Exit module functions ====================*/ | 524 | /*====================== Init and Exit module functions ====================*/ |
525 | 525 | ||
526 | static int __init sd_mod_init(void) | 526 | module_usb_driver(sd_driver); |
527 | { | ||
528 | PDEBUG(D_PROBE, "driver startup - version %s", DRIVER_VERSION); | ||
529 | |||
530 | if (usb_register(&sd_driver) < 0) | ||
531 | return -1; | ||
532 | return 0; | ||
533 | } | ||
534 | |||
535 | static void __exit sd_mod_exit(void) | ||
536 | { | ||
537 | usb_deregister(&sd_driver); | ||
538 | } | ||
539 | |||
540 | module_init(sd_mod_init); | ||
541 | module_exit(sd_mod_exit); | ||
542 | 527 | ||
543 | /*==========================================================================*/ | 528 | /*==========================================================================*/ |
544 | 529 | ||