diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:48 -0400 |
commit | 269bda1c123c7caf88e1deb2264f9086f0344192 (patch) | |
tree | c83d9944e0acdc40c9040cbccfb9ec7d606bdd2c /drivers/usb/serial/keyspan.h | |
parent | 502b95c1cc9e2c855a26f90fc999c5211b8ba957 (diff) |
[PATCH] USB Serial: move name to driver structure
This fixes up a lot of problems in sysfs with some of the usb serial
drivers, they had incorrect driver names. Also saves a tiny ammount
of memory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/keyspan.h')
-rw-r--r-- | drivers/usb/serial/keyspan.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h index 124d46e76a2e..5cfc13b5e56f 100644 --- a/drivers/usb/serial/keyspan.h +++ b/drivers/usb/serial/keyspan.h | |||
@@ -573,9 +573,9 @@ static struct usb_device_id keyspan_4port_ids[] = { | |||
573 | static struct usb_serial_driver keyspan_pre_device = { | 573 | static struct usb_serial_driver keyspan_pre_device = { |
574 | .driver = { | 574 | .driver = { |
575 | .owner = THIS_MODULE, | 575 | .owner = THIS_MODULE, |
576 | .name = "keyspan_no_firm", | ||
576 | }, | 577 | }, |
577 | .name = "Keyspan - (without firmware)", | 578 | .description = "Keyspan - (without firmware)", |
578 | .short_name = "keyspan_no_firm", | ||
579 | .id_table = keyspan_pre_ids, | 579 | .id_table = keyspan_pre_ids, |
580 | .num_interrupt_in = NUM_DONT_CARE, | 580 | .num_interrupt_in = NUM_DONT_CARE, |
581 | .num_bulk_in = NUM_DONT_CARE, | 581 | .num_bulk_in = NUM_DONT_CARE, |
@@ -587,9 +587,9 @@ static struct usb_serial_driver keyspan_pre_device = { | |||
587 | static struct usb_serial_driver keyspan_1port_device = { | 587 | static struct usb_serial_driver keyspan_1port_device = { |
588 | .driver = { | 588 | .driver = { |
589 | .owner = THIS_MODULE, | 589 | .owner = THIS_MODULE, |
590 | .name = "keyspan_1", | ||
590 | }, | 591 | }, |
591 | .name = "Keyspan 1 port adapter", | 592 | .description = "Keyspan 1 port adapter", |
592 | .short_name = "keyspan_1", | ||
593 | .id_table = keyspan_1port_ids, | 593 | .id_table = keyspan_1port_ids, |
594 | .num_interrupt_in = NUM_DONT_CARE, | 594 | .num_interrupt_in = NUM_DONT_CARE, |
595 | .num_bulk_in = NUM_DONT_CARE, | 595 | .num_bulk_in = NUM_DONT_CARE, |
@@ -614,9 +614,9 @@ static struct usb_serial_driver keyspan_1port_device = { | |||
614 | static struct usb_serial_driver keyspan_2port_device = { | 614 | static struct usb_serial_driver keyspan_2port_device = { |
615 | .driver = { | 615 | .driver = { |
616 | .owner = THIS_MODULE, | 616 | .owner = THIS_MODULE, |
617 | .name = "keyspan_2", | ||
617 | }, | 618 | }, |
618 | .name = "Keyspan 2 port adapter", | 619 | .description = "Keyspan 2 port adapter", |
619 | .short_name = "keyspan_2", | ||
620 | .id_table = keyspan_2port_ids, | 620 | .id_table = keyspan_2port_ids, |
621 | .num_interrupt_in = NUM_DONT_CARE, | 621 | .num_interrupt_in = NUM_DONT_CARE, |
622 | .num_bulk_in = NUM_DONT_CARE, | 622 | .num_bulk_in = NUM_DONT_CARE, |
@@ -641,9 +641,9 @@ static struct usb_serial_driver keyspan_2port_device = { | |||
641 | static struct usb_serial_driver keyspan_4port_device = { | 641 | static struct usb_serial_driver keyspan_4port_device = { |
642 | .driver = { | 642 | .driver = { |
643 | .owner = THIS_MODULE, | 643 | .owner = THIS_MODULE, |
644 | .name = "keyspan_4", | ||
644 | }, | 645 | }, |
645 | .name = "Keyspan 4 port adapter", | 646 | .description = "Keyspan 4 port adapter", |
646 | .short_name = "keyspan_4", | ||
647 | .id_table = keyspan_4port_ids, | 647 | .id_table = keyspan_4port_ids, |
648 | .num_interrupt_in = NUM_DONT_CARE, | 648 | .num_interrupt_in = NUM_DONT_CARE, |
649 | .num_bulk_in = 5, | 649 | .num_bulk_in = 5, |