diff options
Diffstat (limited to 'drivers/net/usb/catc.c')
-rw-r--r-- | drivers/net/usb/catc.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index a68272c9338..182cfb4aeb1 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c | |||
@@ -949,19 +949,4 @@ static struct usb_driver catc_driver = { | |||
949 | .id_table = catc_id_table, | 949 | .id_table = catc_id_table, |
950 | }; | 950 | }; |
951 | 951 | ||
952 | static int __init catc_init(void) | 952 | module_usb_driver(catc_driver); |
953 | { | ||
954 | int result = usb_register(&catc_driver); | ||
955 | if (result == 0) | ||
956 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
957 | DRIVER_DESC "\n"); | ||
958 | return result; | ||
959 | } | ||
960 | |||
961 | static void __exit catc_exit(void) | ||
962 | { | ||
963 | usb_deregister(&catc_driver); | ||
964 | } | ||
965 | |||
966 | module_init(catc_init); | ||
967 | module_exit(catc_exit); | ||