diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/nova-t-usb2.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/nova-t-usb2.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-usb/nova-t-usb2.c b/drivers/media/dvb/dvb-usb/nova-t-usb2.c index 21384da6570e..6c55384e2fca 100644 --- a/drivers/media/dvb/dvb-usb/nova-t-usb2.c +++ b/drivers/media/dvb/dvb-usb/nova-t-usb2.c | |||
@@ -225,26 +225,7 @@ static struct usb_driver nova_t_driver = { | |||
225 | .id_table = nova_t_table, | 225 | .id_table = nova_t_table, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | /* module stuff */ | 228 | module_usb_driver(nova_t_driver); |
229 | static int __init nova_t_module_init(void) | ||
230 | { | ||
231 | int result; | ||
232 | if ((result = usb_register(&nova_t_driver))) { | ||
233 | err("usb_register failed. Error number %d",result); | ||
234 | return result; | ||
235 | } | ||
236 | |||
237 | return 0; | ||
238 | } | ||
239 | |||
240 | static void __exit nova_t_module_exit(void) | ||
241 | { | ||
242 | /* deregister this driver from the USB subsystem */ | ||
243 | usb_deregister(&nova_t_driver); | ||
244 | } | ||
245 | |||
246 | module_init (nova_t_module_init); | ||
247 | module_exit (nova_t_module_exit); | ||
248 | 229 | ||
249 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); | 230 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); |
250 | MODULE_DESCRIPTION("Hauppauge WinTV-NOVA-T usb2"); | 231 | MODULE_DESCRIPTION("Hauppauge WinTV-NOVA-T usb2"); |