diff options
Diffstat (limited to 'drivers/video/smscufx.c')
-rw-r--r-- | drivers/video/smscufx.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/video/smscufx.c b/drivers/video/smscufx.c index aaccffac67ab..3c22994ea31a 100644 --- a/drivers/video/smscufx.c +++ b/drivers/video/smscufx.c | |||
@@ -1792,24 +1792,7 @@ static struct usb_driver ufx_driver = { | |||
1792 | .id_table = id_table, | 1792 | .id_table = id_table, |
1793 | }; | 1793 | }; |
1794 | 1794 | ||
1795 | static int __init ufx_module_init(void) | 1795 | module_usb_driver(ufx_driver); |
1796 | { | ||
1797 | int res; | ||
1798 | |||
1799 | res = usb_register(&ufx_driver); | ||
1800 | if (res) | ||
1801 | err("usb_register failed. Error number %d", res); | ||
1802 | |||
1803 | return res; | ||
1804 | } | ||
1805 | |||
1806 | static void __exit ufx_module_exit(void) | ||
1807 | { | ||
1808 | usb_deregister(&ufx_driver); | ||
1809 | } | ||
1810 | |||
1811 | module_init(ufx_module_init); | ||
1812 | module_exit(ufx_module_exit); | ||
1813 | 1796 | ||
1814 | static void ufx_urb_completion(struct urb *urb) | 1797 | static void ufx_urb_completion(struct urb *urb) |
1815 | { | 1798 | { |