aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r--drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
index 8aa01149351a..5b682cc4c814 100644
--- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
+++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
@@ -1808,26 +1808,7 @@ static struct usb_driver ttusb_driver = {
1808 .id_table = ttusb_table, 1808 .id_table = ttusb_table,
1809}; 1809};
1810 1810
1811static int __init ttusb_init(void) 1811module_usb_driver(ttusb_driver);
1812{
1813 int err;
1814
1815 if ((err = usb_register(&ttusb_driver)) < 0) {
1816 printk("%s: usb_register failed! Error number %d",
1817 __FILE__, err);
1818 return err;
1819 }
1820
1821 return 0;
1822}
1823
1824static void __exit ttusb_exit(void)
1825{
1826 usb_deregister(&ttusb_driver);
1827}
1828
1829module_init(ttusb_init);
1830module_exit(ttusb_exit);
1831 1812
1832MODULE_AUTHOR("Holger Waechtler <holger@convergence.de>"); 1813MODULE_AUTHOR("Holger Waechtler <holger@convergence.de>");
1833MODULE_DESCRIPTION("TTUSB DVB Driver"); 1814MODULE_DESCRIPTION("TTUSB DVB Driver");