aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/cxusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r--drivers/media/dvb/dvb-usb/cxusb.c21
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 */ 2036module_usb_driver(cxusb_driver);
2037static 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
2048static void __exit cxusb_module_exit(void)
2049{
2050 /* deregister this driver from the USB subsystem */
2051 usb_deregister(&cxusb_driver);
2052}
2053
2054module_init (cxusb_module_init);
2055module_exit (cxusb_module_exit);
2056 2037
2057MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); 2038MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>");
2058MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>"); 2039MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>");