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/visor.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/visor.c')
-rw-r--r-- | drivers/usb/serial/visor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index b09f06096056..02cd6f7a2d6b 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -189,6 +189,7 @@ static struct usb_serial_driver handspring_device = { | |||
189 | .name = "visor", | 189 | .name = "visor", |
190 | }, | 190 | }, |
191 | .description = "Handspring Visor / Palm OS", | 191 | .description = "Handspring Visor / Palm OS", |
192 | .usb_driver = &visor_driver, | ||
192 | .id_table = id_table, | 193 | .id_table = id_table, |
193 | .num_interrupt_in = NUM_DONT_CARE, | 194 | .num_interrupt_in = NUM_DONT_CARE, |
194 | .num_bulk_in = 2, | 195 | .num_bulk_in = 2, |
@@ -219,6 +220,7 @@ static struct usb_serial_driver clie_5_device = { | |||
219 | .name = "clie_5", | 220 | .name = "clie_5", |
220 | }, | 221 | }, |
221 | .description = "Sony Clie 5.0", | 222 | .description = "Sony Clie 5.0", |
223 | .usb_driver = &visor_driver, | ||
222 | .id_table = clie_id_5_table, | 224 | .id_table = clie_id_5_table, |
223 | .num_interrupt_in = NUM_DONT_CARE, | 225 | .num_interrupt_in = NUM_DONT_CARE, |
224 | .num_bulk_in = 2, | 226 | .num_bulk_in = 2, |
@@ -249,6 +251,7 @@ static struct usb_serial_driver clie_3_5_device = { | |||
249 | .name = "clie_3.5", | 251 | .name = "clie_3.5", |
250 | }, | 252 | }, |
251 | .description = "Sony Clie 3.5", | 253 | .description = "Sony Clie 3.5", |
254 | .usb_driver = &visor_driver, | ||
252 | .id_table = clie_id_3_5_table, | 255 | .id_table = clie_id_3_5_table, |
253 | .num_interrupt_in = 0, | 256 | .num_interrupt_in = 0, |
254 | .num_bulk_in = 1, | 257 | .num_bulk_in = 1, |