aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/keyspan.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/keyspan.h')
-rw-r--r--drivers/usb/serial/keyspan.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h
index 97e7d9e53e39..124d46e76a2e 100644
--- a/drivers/usb/serial/keyspan.h
+++ b/drivers/usb/serial/keyspan.h
@@ -571,7 +571,9 @@ static struct usb_device_id keyspan_4port_ids[] = {
571 571
572/* Structs for the devices, pre and post renumeration. */ 572/* Structs for the devices, pre and post renumeration. */
573static struct usb_serial_driver keyspan_pre_device = { 573static struct usb_serial_driver keyspan_pre_device = {
574 .owner = THIS_MODULE, 574 .driver = {
575 .owner = THIS_MODULE,
576 },
575 .name = "Keyspan - (without firmware)", 577 .name = "Keyspan - (without firmware)",
576 .short_name = "keyspan_no_firm", 578 .short_name = "keyspan_no_firm",
577 .id_table = keyspan_pre_ids, 579 .id_table = keyspan_pre_ids,
@@ -583,7 +585,9 @@ static struct usb_serial_driver keyspan_pre_device = {
583}; 585};
584 586
585static struct usb_serial_driver keyspan_1port_device = { 587static struct usb_serial_driver keyspan_1port_device = {
586 .owner = THIS_MODULE, 588 .driver = {
589 .owner = THIS_MODULE,
590 },
587 .name = "Keyspan 1 port adapter", 591 .name = "Keyspan 1 port adapter",
588 .short_name = "keyspan_1", 592 .short_name = "keyspan_1",
589 .id_table = keyspan_1port_ids, 593 .id_table = keyspan_1port_ids,
@@ -608,7 +612,9 @@ static struct usb_serial_driver keyspan_1port_device = {
608}; 612};
609 613
610static struct usb_serial_driver keyspan_2port_device = { 614static struct usb_serial_driver keyspan_2port_device = {
611 .owner = THIS_MODULE, 615 .driver = {
616 .owner = THIS_MODULE,
617 },
612 .name = "Keyspan 2 port adapter", 618 .name = "Keyspan 2 port adapter",
613 .short_name = "keyspan_2", 619 .short_name = "keyspan_2",
614 .id_table = keyspan_2port_ids, 620 .id_table = keyspan_2port_ids,
@@ -633,7 +639,9 @@ static struct usb_serial_driver keyspan_2port_device = {
633}; 639};
634 640
635static struct usb_serial_driver keyspan_4port_device = { 641static struct usb_serial_driver keyspan_4port_device = {
636 .owner = THIS_MODULE, 642 .driver = {
643 .owner = THIS_MODULE,
644 },
637 .name = "Keyspan 4 port adapter", 645 .name = "Keyspan 4 port adapter",
638 .short_name = "keyspan_4", 646 .short_name = "keyspan_4",
639 .id_table = keyspan_4port_ids, 647 .id_table = keyspan_4port_ids,