diff options
author | Johannes Hölzl <johannes.hoelzl@gmx.de> | 2006-12-17 15:50:24 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:44:34 -0500 |
commit | d9b1b787736852f462dbf277b3ca708cbbf693ae (patch) | |
tree | 143d154a3f77bb3aff27fb74eed339f2713ed399 /drivers/usb/serial/sierra.c | |
parent | 93bacefc4cc0b53e1cb6a336d43847154fdf6886 (diff) |
USB serial: add driver pointer to all usb-serial drivers
Every usb serial driver should have a pointer to the corresponding usb driver.
So the usb serial core can add a new id not only to the usb serial driver, but
also to the usb driver.
Also the usb drivers of ark3116, mos7720 and mos7840 missed the flag
no_dynamic_id=1. This is added now.
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/sierra.c')
-rw-r--r-- | drivers/usb/serial/sierra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 6d8e91e00ecf..8aca8a707a3f 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -614,6 +614,7 @@ static struct usb_serial_driver sierra_1port_device = { | |||
614 | }, | 614 | }, |
615 | .description = "Sierra USB modem (1 port)", | 615 | .description = "Sierra USB modem (1 port)", |
616 | .id_table = id_table_1port, | 616 | .id_table = id_table_1port, |
617 | .usb_driver = &sierra_driver, | ||
617 | .num_interrupt_in = NUM_DONT_CARE, | 618 | .num_interrupt_in = NUM_DONT_CARE, |
618 | .num_bulk_in = 1, | 619 | .num_bulk_in = 1, |
619 | .num_bulk_out = 1, | 620 | .num_bulk_out = 1, |
@@ -642,6 +643,7 @@ static struct usb_serial_driver sierra_3port_device = { | |||
642 | }, | 643 | }, |
643 | .description = "Sierra USB modem (3 port)", | 644 | .description = "Sierra USB modem (3 port)", |
644 | .id_table = id_table_3port, | 645 | .id_table = id_table_3port, |
646 | .usb_driver = &sierra_driver, | ||
645 | .num_interrupt_in = NUM_DONT_CARE, | 647 | .num_interrupt_in = NUM_DONT_CARE, |
646 | .num_bulk_in = 3, | 648 | .num_bulk_in = 3, |
647 | .num_bulk_out = 3, | 649 | .num_bulk_out = 3, |