diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dw2102.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dw2102.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c index f103ec1fe82e..ff941d20e6b7 100644 --- a/drivers/media/dvb/dvb-usb/dw2102.c +++ b/drivers/media/dvb/dvb-usb/dw2102.c | |||
@@ -1928,22 +1928,7 @@ static struct usb_driver dw2102_driver = { | |||
1928 | .id_table = dw2102_table, | 1928 | .id_table = dw2102_table, |
1929 | }; | 1929 | }; |
1930 | 1930 | ||
1931 | static int __init dw2102_module_init(void) | 1931 | module_usb_driver(dw2102_driver); |
1932 | { | ||
1933 | int ret = usb_register(&dw2102_driver); | ||
1934 | if (ret) | ||
1935 | err("usb_register failed. Error number %d", ret); | ||
1936 | |||
1937 | return ret; | ||
1938 | } | ||
1939 | |||
1940 | static void __exit dw2102_module_exit(void) | ||
1941 | { | ||
1942 | usb_deregister(&dw2102_driver); | ||
1943 | } | ||
1944 | |||
1945 | module_init(dw2102_module_init); | ||
1946 | module_exit(dw2102_module_exit); | ||
1947 | 1932 | ||
1948 | MODULE_AUTHOR("Igor M. Liplianin (c) liplianin@me.by"); | 1933 | MODULE_AUTHOR("Igor M. Liplianin (c) liplianin@me.by"); |
1949 | MODULE_DESCRIPTION("Driver for DVBWorld DVB-S 2101, 2102, DVB-S2 2104," | 1934 | MODULE_DESCRIPTION("Driver for DVBWorld DVB-S 2101, 2102, DVB-S2 2104," |