diff options
author | Johannes Hölzl <johannes.hoelzl@gmx.de> | 2006-12-17 16:05:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:44:34 -0500 |
commit | 52d67f0b5c1b1827cd842020d40bdde4f7d04f59 (patch) | |
tree | 59636b07c526bba9094224efa24c64240c4ef494 /drivers/usb/serial | |
parent | d9b1b787736852f462dbf277b3ca708cbbf693ae (diff) |
USB: Bugfix for aircable: Add module and name to usb_serial_driver
While adding the dynamic-id support to usb serial I found a small bug in
the air cable driver:
Adds module and name information to the usb_serial_driver instance
of aircable. So the aircable driver is correctly shown under
/sys/bus/usb-serial/drivers/aircable and has the module link.
Signed-off-by: Johannes Hölzl <johannes.hoelzl@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/aircable.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c index 46c856a187a2..11dad42c3c60 100644 --- a/drivers/usb/serial/aircable.c +++ b/drivers/usb/serial/aircable.c | |||
@@ -581,7 +581,10 @@ static struct usb_driver aircable_driver = { | |||
581 | }; | 581 | }; |
582 | 582 | ||
583 | static struct usb_serial_driver aircable_device = { | 583 | static struct usb_serial_driver aircable_device = { |
584 | .description = "aircable", | 584 | .driver = { |
585 | .owner = THIS_MODULE, | ||
586 | .name = "aircable", | ||
587 | }, | ||
585 | .usb_driver = &aircable_driver, | 588 | .usb_driver = &aircable_driver, |
586 | .id_table = id_table, | 589 | .id_table = id_table, |
587 | .num_ports = 1, | 590 | .num_ports = 1, |