diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/a800.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/a800.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-usb/a800.c b/drivers/media/dvb/dvb-usb/a800.c index 2aef3c89e9fa..8d7fef84afd8 100644 --- a/drivers/media/dvb/dvb-usb/a800.c +++ b/drivers/media/dvb/dvb-usb/a800.c | |||
@@ -183,26 +183,7 @@ static struct usb_driver a800_driver = { | |||
183 | .id_table = a800_table, | 183 | .id_table = a800_table, |
184 | }; | 184 | }; |
185 | 185 | ||
186 | /* module stuff */ | 186 | module_usb_driver(a800_driver); |
187 | static int __init a800_module_init(void) | ||
188 | { | ||
189 | int result; | ||
190 | if ((result = usb_register(&a800_driver))) { | ||
191 | err("usb_register failed. Error number %d",result); | ||
192 | return result; | ||
193 | } | ||
194 | |||
195 | return 0; | ||
196 | } | ||
197 | |||
198 | static void __exit a800_module_exit(void) | ||
199 | { | ||
200 | /* deregister this driver from the USB subsystem */ | ||
201 | usb_deregister(&a800_driver); | ||
202 | } | ||
203 | |||
204 | module_init (a800_module_init); | ||
205 | module_exit (a800_module_exit); | ||
206 | 187 | ||
207 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); | 188 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); |
208 | MODULE_DESCRIPTION("AVerMedia AverTV DVB-T USB 2.0 (A800)"); | 189 | MODULE_DESCRIPTION("AVerMedia AverTV DVB-T USB 2.0 (A800)"); |