summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/io_ti.c
diff options
context:
space:
mode:
authorJohannes Hölzl2006-12-17 21:50:24 +0100
committerGreg Kroah-Hartman2007-02-08 00:44:34 +0100
commitd9b1b787736852f462dbf277b3ca708cbbf693ae (patch)
tree143d154a3f77bb3aff27fb74eed339f2713ed399 /drivers/usb/serial/io_ti.c
parentUSB serial: add dynamic id support to usb-serial core (diff)
downloadkernel-qcow2-linux-d9b1b787736852f462dbf277b3ca708cbbf693ae.tar.gz
kernel-qcow2-linux-d9b1b787736852f462dbf277b3ca708cbbf693ae.tar.xz
kernel-qcow2-linux-d9b1b787736852f462dbf277b3ca708cbbf693ae.zip
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/io_ti.c')
-rw-r--r--drivers/usb/serial/io_ti.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index 980285c0233a..544098d2b775 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -2979,6 +2979,7 @@ static struct usb_serial_driver edgeport_1port_device = {
.name = "edgeport_ti_1",
},
.description = "Edgeport TI 1 port adapter",
+ .usb_driver = &io_driver,
.id_table = edgeport_1port_id_table,
.num_interrupt_in = 1,
.num_bulk_in = 1,
@@ -3009,6 +3010,7 @@ static struct usb_serial_driver edgeport_2port_device = {
.name = "edgeport_ti_2",
},
.description = "Edgeport TI 2 port adapter",
+ .usb_driver = &io_driver,
.id_table = edgeport_2port_id_table,
.num_interrupt_in = 1,
.num_bulk_in = 2,