Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934587AbYBGVBf (ORCPT ); Thu, 7 Feb 2008 16:01:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762236AbYBGUv4 (ORCPT ); Thu, 7 Feb 2008 15:51:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:38492 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932929AbYBGUvx (ORCPT ); Thu, 7 Feb 2008 15:51:53 -0500 Date: Thu, 7 Feb 2008 12:47:29 -0800 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org, linux-usb@vger.kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Stefan Bader , Alan Cox Subject: [patch 22/45] USB: Fix usb_serial_driver structure for Kobil cardreader driver. Message-ID: <20080207204729.GW16389@suse.de> References: <20080207204118.202098927@mini.kroah.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="usb-fix-usb_serial_driver-structure-for-kobil-cardreader-driver.patch" In-Reply-To: <20080207204549.GA16389@suse.de> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1076 Lines: 34 2.6.24-stable review patch. If anyone has any objections, please let us know. ------------------ From: Stefan Bader 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: Alan Cox Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/kobil_sct.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c @@ -114,6 +114,7 @@ static struct usb_serial_driver kobil_de .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, -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/