aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smsusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/siano/smsusb.c')
-rw-r--r--drivers/media/dvb/siano/smsusb.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c
index f8cfeaae5cc1..66e413a78a98 100644
--- a/drivers/media/dvb/siano/smsusb.c
+++ b/drivers/media/dvb/siano/smsusb.c
@@ -531,7 +531,7 @@ static struct usb_driver smsusb_driver = {
531 .resume = smsusb_resume, 531 .resume = smsusb_resume,
532}; 532};
533 533
534int smsusb_register(void) 534int smsusb_module_init(void)
535{ 535{
536 int rc = usb_register(&smsusb_driver); 536 int rc = usb_register(&smsusb_driver);
537 if (rc) 537 if (rc)
@@ -542,10 +542,16 @@ int smsusb_register(void)
542 return rc; 542 return rc;
543} 543}
544 544
545void smsusb_unregister(void) 545void smsusb_module_exit(void)
546{ 546{
547 sms_debug(""); 547 sms_debug("");
548 /* Regular USB Cleanup */ 548 /* Regular USB Cleanup */
549 usb_deregister(&smsusb_driver); 549 usb_deregister(&smsusb_driver);
550} 550}
551 551
552module_init(smsusb_module_init);
553module_exit(smsusb_module_exit);
554
555MODULE_DESCRIPTION("Driver for the Siano SMS1XXX USB dongle");
556MODULE_AUTHOR("Siano Mobile Silicon, INC. (uris@siano-ms.com)");
557MODULE_LICENSE("GPL");