aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/kobil_sct.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/kobil_sct.c')
-rw-r--r--drivers/usb/serial/kobil_sct.c20
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
686static int __init kobil_init(void) 686module_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
698static void __exit kobil_exit(void)
699{
700 usb_serial_deregister_drivers(&kobil_driver, serial_drivers);
701}
702
703module_init(kobil_init);
704module_exit(kobil_exit);
705 687
706MODULE_AUTHOR(DRIVER_AUTHOR); 688MODULE_AUTHOR(DRIVER_AUTHOR);
707MODULE_DESCRIPTION(DRIVER_DESC); 689MODULE_DESCRIPTION(DRIVER_DESC);