diff options
author | Stefan Bader <stefan.bader@canonical.com> | 2008-01-25 08:09:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 17:35:06 -0500 |
commit | 8dd70705c4a7a3110076da412333c90d773bbb63 (patch) | |
tree | 15d272f9d458d492d64b9fabad027dd42df3c334 /drivers/usb | |
parent | c06d4dcf5034ee2289a921b9b2c547f3fed2d878 (diff) |
USB: Fix usb_serial_driver structure for Kobil cardreader driver.
The device setup did miss to initialize the num_interrupt_out field, thus
failing to successfully complete the probe function.
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Cc: stable <stable@kernel.org>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/kobil_sct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index aee450246bfd..17b3baead4ad 100644 --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c | |||
@@ -114,6 +114,7 @@ static struct usb_serial_driver kobil_device = { | |||
114 | .usb_driver = &kobil_driver, | 114 | .usb_driver = &kobil_driver, |
115 | .id_table = id_table, | 115 | .id_table = id_table, |
116 | .num_interrupt_in = NUM_DONT_CARE, | 116 | .num_interrupt_in = NUM_DONT_CARE, |
117 | .num_interrupt_out = NUM_DONT_CARE, | ||
117 | .num_bulk_in = 0, | 118 | .num_bulk_in = 0, |
118 | .num_bulk_out = 0, | 119 | .num_bulk_out = 0, |
119 | .num_ports = 1, | 120 | .num_ports = 1, |