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 e8e5a74fa5c7..3940bb0f9ef6 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -2033,26 +2033,7 @@ static struct usb_driver cxusb_driver = { | |||
2033 | .id_table = cxusb_table, | 2033 | .id_table = cxusb_table, |
2034 | }; | 2034 | }; |
2035 | 2035 | ||
2036 | /* module stuff */ | 2036 | module_usb_driver(cxusb_driver); |
2037 | static int __init cxusb_module_init(void) | ||
2038 | { | ||
2039 | int result; | ||
2040 | if ((result = usb_register(&cxusb_driver))) { | ||
2041 | err("usb_register failed. Error number %d",result); | ||
2042 | return result; | ||
2043 | } | ||
2044 | |||
2045 | return 0; | ||
2046 | } | ||
2047 | |||
2048 | static void __exit cxusb_module_exit(void) | ||
2049 | { | ||
2050 | /* deregister this driver from the USB subsystem */ | ||
2051 | usb_deregister(&cxusb_driver); | ||
2052 | } | ||
2053 | |||
2054 | module_init (cxusb_module_init); | ||
2055 | module_exit (cxusb_module_exit); | ||
2056 | 2037 | ||
2057 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); | 2038 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); |
2058 | MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>"); | 2039 | MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>"); |