aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ch341.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/ch341.c')
-rw-r--r--drivers/usb/serial/ch341.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index 95b259747697..a2b7ea726bfb 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -589,11 +589,6 @@ static int ch341_resume(struct usb_serial *serial)
589 return 0; 589 return 0;
590} 590}
591 591
592static struct usb_driver ch341_driver = {
593 .name = "ch341",
594 .id_table = id_table,
595};
596
597static struct usb_serial_driver ch341_device = { 592static struct usb_serial_driver ch341_device = {
598 .driver = { 593 .driver = {
599 .owner = THIS_MODULE, 594 .owner = THIS_MODULE,
@@ -619,7 +614,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
619 &ch341_device, NULL 614 &ch341_device, NULL
620}; 615};
621 616
622module_usb_serial_driver(ch341_driver, serial_drivers); 617module_usb_serial_driver(serial_drivers, id_table);
623 618
624MODULE_LICENSE("GPL"); 619MODULE_LICENSE("GPL");
625 620