diff options
Diffstat (limited to 'drivers/usb/serial/kobil_sct.c')
-rw-r--r-- | drivers/usb/serial/kobil_sct.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index a033dd7dc265..4a9a75eb9b95 100644 --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c | |||
@@ -683,25 +683,7 @@ static int kobil_ioctl(struct tty_struct *tty, | |||
683 | } | 683 | } |
684 | } | 684 | } |
685 | 685 | ||
686 | static int __init kobil_init(void) | 686 | module_usb_serial_driver(kobil_driver, serial_drivers); |
687 | { | ||
688 | int retval; | ||
689 | |||
690 | retval = usb_serial_register_drivers(&kobil_driver, serial_drivers); | ||
691 | if (retval == 0) | ||
692 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
693 | DRIVER_DESC "\n"); | ||
694 | return retval; | ||
695 | } | ||
696 | |||
697 | |||
698 | static void __exit kobil_exit(void) | ||
699 | { | ||
700 | usb_serial_deregister_drivers(&kobil_driver, serial_drivers); | ||
701 | } | ||
702 | |||
703 | module_init(kobil_init); | ||
704 | module_exit(kobil_exit); | ||
705 | 687 | ||
706 | MODULE_AUTHOR(DRIVER_AUTHOR); | 688 | MODULE_AUTHOR(DRIVER_AUTHOR); |
707 | MODULE_DESCRIPTION(DRIVER_DESC); | 689 | MODULE_DESCRIPTION(DRIVER_DESC); |