diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/af9015.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index c6c275bac08e..56cbd3636c31 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c | |||
@@ -1713,25 +1713,7 @@ static struct usb_driver af9015_usb_driver = { | |||
1713 | .id_table = af9015_usb_table, | 1713 | .id_table = af9015_usb_table, |
1714 | }; | 1714 | }; |
1715 | 1715 | ||
1716 | /* module stuff */ | 1716 | module_usb_driver(af9015_usb_driver); |
1717 | static int __init af9015_usb_module_init(void) | ||
1718 | { | ||
1719 | int ret; | ||
1720 | ret = usb_register(&af9015_usb_driver); | ||
1721 | if (ret) | ||
1722 | err("module init failed:%d", ret); | ||
1723 | |||
1724 | return ret; | ||
1725 | } | ||
1726 | |||
1727 | static void __exit af9015_usb_module_exit(void) | ||
1728 | { | ||
1729 | /* deregister this driver from the USB subsystem */ | ||
1730 | usb_deregister(&af9015_usb_driver); | ||
1731 | } | ||
1732 | |||
1733 | module_init(af9015_usb_module_init); | ||
1734 | module_exit(af9015_usb_module_exit); | ||
1735 | 1717 | ||
1736 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); | 1718 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); |
1737 | MODULE_DESCRIPTION("Driver for Afatech AF9015 DVB-T"); | 1719 | MODULE_DESCRIPTION("Driver for Afatech AF9015 DVB-T"); |