diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 9f2a02c48377..949ea1bc0aae 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -2034,26 +2034,7 @@ static struct usb_driver cxusb_driver = { | |||
2034 | .id_table = cxusb_table, | 2034 | .id_table = cxusb_table, |
2035 | }; | 2035 | }; |
2036 | 2036 | ||
2037 | /* module stuff */ | 2037 | module_usb_driver(cxusb_driver); |
2038 | static int __init cxusb_module_init(void) | ||
2039 | { | ||
2040 | int result; | ||
2041 | if ((result = usb_register(&cxusb_driver))) { | ||
2042 | err("usb_register failed. Error number %d",result); | ||
2043 | return result; | ||
2044 | } | ||
2045 | |||
2046 | return 0; | ||
2047 | } | ||
2048 | |||
2049 | static void __exit cxusb_module_exit(void) | ||
2050 | { | ||
2051 | /* deregister this driver from the USB subsystem */ | ||
2052 | usb_deregister(&cxusb_driver); | ||
2053 | } | ||
2054 | |||
2055 | module_init (cxusb_module_init); | ||
2056 | module_exit (cxusb_module_exit); | ||
2057 | 2038 | ||
2058 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); | 2039 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); |
2059 | MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>"); | 2040 | MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>"); |