diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/it913x.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/it913x.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c index c46226187143..67094b879bb4 100644 --- a/drivers/media/dvb/dvb-usb/it913x.c +++ b/drivers/media/dvb/dvb-usb/it913x.c | |||
@@ -675,26 +675,7 @@ static struct usb_driver it913x_driver = { | |||
675 | .id_table = it913x_table, | 675 | .id_table = it913x_table, |
676 | }; | 676 | }; |
677 | 677 | ||
678 | /* module stuff */ | 678 | module_usb_driver(it913x_driver); |
679 | static int __init it913x_module_init(void) | ||
680 | { | ||
681 | int result = usb_register(&it913x_driver); | ||
682 | if (result) { | ||
683 | err("usb_register failed. Error number %d", result); | ||
684 | return result; | ||
685 | } | ||
686 | |||
687 | return 0; | ||
688 | } | ||
689 | |||
690 | static void __exit it913x_module_exit(void) | ||
691 | { | ||
692 | /* deregister this driver from the USB subsystem */ | ||
693 | usb_deregister(&it913x_driver); | ||
694 | } | ||
695 | |||
696 | module_init(it913x_module_init); | ||
697 | module_exit(it913x_module_exit); | ||
698 | 679 | ||
699 | MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); | 680 | MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); |
700 | MODULE_DESCRIPTION("it913x USB 2 Driver"); | 681 | MODULE_DESCRIPTION("it913x USB 2 Driver"); |