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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
93bacefc4c
commit
d9b1b78773
@@ -88,6 +88,7 @@ static struct usb_serial_driver cyberjack_device = {
|
||||
.name = "cyberjack",
|
||||
},
|
||||
.description = "Reiner SCT Cyberjack USB card reader",
|
||||
.usb_driver = &cyberjack_driver,
|
||||
.id_table = id_table,
|
||||
.num_interrupt_in = 1,
|
||||
.num_bulk_in = 1,
|
||||
@@ -98,7 +99,7 @@ static struct usb_serial_driver cyberjack_device = {
|
||||
.open = cyberjack_open,
|
||||
.close = cyberjack_close,
|
||||
.write = cyberjack_write,
|
||||
.write_room = cyberjack_write_room,
|
||||
.write_room = cyberjack_write_room,
|
||||
.read_int_callback = cyberjack_read_int_callback,
|
||||
.read_bulk_callback = cyberjack_read_bulk_callback,
|
||||
.write_bulk_callback = cyberjack_write_bulk_callback,
|
||||
|
Reference in New Issue
Block a user