From: Stefan Bader Date: Fri, 25 Jan 2008 13:09:41 +0000 (-0500) Subject: USB: Fix usb_serial_driver structure for Kobil cardreader driver. X-Git-Tag: v2.6.25-rc1~1075^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dd70705c4a7a3110076da412333c90d773bbb63;p=linux-2.6 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 Cc: stable Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index aee450246b..17b3baead4 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 = { .usb_driver = &kobil_driver, .id_table = id_table, .num_interrupt_in = NUM_DONT_CARE, + .num_interrupt_out = NUM_DONT_CARE, .num_bulk_in = 0, .num_bulk_out = 0, .num_ports = 1,