diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/pctv452e.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/pctv452e.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/media/dvb/dvb-usb/pctv452e.c b/drivers/media/dvb/dvb-usb/pctv452e.c index f9aec5cb6e7..f526eb05cc7 100644 --- a/drivers/media/dvb/dvb-usb/pctv452e.c +++ b/drivers/media/dvb/dvb-usb/pctv452e.c | |||
@@ -1055,22 +1055,7 @@ static struct usb_driver pctv452e_usb_driver = { | |||
1055 | .id_table = pctv452e_usb_table, | 1055 | .id_table = pctv452e_usb_table, |
1056 | }; | 1056 | }; |
1057 | 1057 | ||
1058 | static int __init pctv452e_usb_init(void) | 1058 | module_usb_driver(pctv452e_usb_driver); |
1059 | { | ||
1060 | int ret = usb_register(&pctv452e_usb_driver); | ||
1061 | if (ret) | ||
1062 | err("%s: usb_register failed! Error %d", __FILE__, ret); | ||
1063 | |||
1064 | return ret; | ||
1065 | } | ||
1066 | |||
1067 | static void __exit pctv452e_usb_exit(void) | ||
1068 | { | ||
1069 | usb_deregister(&pctv452e_usb_driver); | ||
1070 | } | ||
1071 | |||
1072 | module_init(pctv452e_usb_init); | ||
1073 | module_exit(pctv452e_usb_exit); | ||
1074 | 1059 | ||
1075 | MODULE_AUTHOR("Dominik Kuhlen <dkuhlen@gmx.net>"); | 1060 | MODULE_AUTHOR("Dominik Kuhlen <dkuhlen@gmx.net>"); |
1076 | MODULE_AUTHOR("Andre Weidemann <Andre.Weidemann@web.de>"); | 1061 | MODULE_AUTHOR("Andre Weidemann <Andre.Weidemann@web.de>"); |