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/cyberjack.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/cyberjack.c')
-rw-r--r-- | drivers/usb/serial/cyberjack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index a63c3286caa0..4167753ed31f 100644 --- a/drivers/usb/serial/cyberjack.c +++ b/drivers/usb/serial/cyberjack.c | |||
@@ -88,6 +88,7 @@ static struct usb_serial_driver cyberjack_device = { | |||
88 | .name = "cyberjack", | 88 | .name = "cyberjack", |
89 | }, | 89 | }, |
90 | .description = "Reiner SCT Cyberjack USB card reader", | 90 | .description = "Reiner SCT Cyberjack USB card reader", |
91 | .usb_driver = &cyberjack_driver, | ||
91 | .id_table = id_table, | 92 | .id_table = id_table, |
92 | .num_interrupt_in = 1, | 93 | .num_interrupt_in = 1, |
93 | .num_bulk_in = 1, | 94 | .num_bulk_in = 1, |
@@ -98,7 +99,7 @@ static struct usb_serial_driver cyberjack_device = { | |||
98 | .open = cyberjack_open, | 99 | .open = cyberjack_open, |
99 | .close = cyberjack_close, | 100 | .close = cyberjack_close, |
100 | .write = cyberjack_write, | 101 | .write = cyberjack_write, |
101 | .write_room = cyberjack_write_room, | 102 | .write_room = cyberjack_write_room, |
102 | .read_int_callback = cyberjack_read_int_callback, | 103 | .read_int_callback = cyberjack_read_int_callback, |
103 | .read_bulk_callback = cyberjack_read_bulk_callback, | 104 | .read_bulk_callback = cyberjack_read_bulk_callback, |
104 | .write_bulk_callback = cyberjack_write_bulk_callback, | 105 | .write_bulk_callback = cyberjack_write_bulk_callback, |