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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Greg Kroah-Hartman

vecāks
93bacefc4c
revīzija
d9b1b78773
@@ -242,14 +242,6 @@ static void edge_shutdown (struct usb_serial *serial);
|
||||
|
||||
#include "io_tables.h" /* all of the devices that this driver supports */
|
||||
|
||||
static struct usb_driver io_driver = {
|
||||
.name = "io_edgeport",
|
||||
.probe = usb_serial_probe,
|
||||
.disconnect = usb_serial_disconnect,
|
||||
.id_table = id_table_combined,
|
||||
.no_dynamic_id = 1,
|
||||
};
|
||||
|
||||
/* function prototypes for all of our local functions */
|
||||
static void process_rcvd_data (struct edgeport_serial *edge_serial, unsigned char *buffer, __u16 bufferLength);
|
||||
static void process_rcvd_status (struct edgeport_serial *edge_serial, __u8 byte2, __u8 byte3);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user