From: Alan Stern Date: Tue, 11 Jan 2011 19:16:50 +0000 (-0500) Subject: USB serial: add missing .usb_driver field in serial drivers X-Git-Tag: v2.6.37.1~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1cf9ccec31f48039a83550671e405f93c5451c;p=pandora-kernel.git USB serial: add missing .usb_driver field in serial drivers commit 5620b5f7f19e9ee3fcf6ecf493fed7821b7b495b upstream. This patch (as1443) fixes a bug found in many of the USB serial drivers: They don't set the .usb_driver field in their usb_serial_driver structure. This field is needed for assigning dynamic IDs for device matching. In addition, starting with the 2.6.37 kernel, the .usb_driver field is needed for proper autosuspend operation. Without it, attempts to open the device file will fail. Signed-off-by: Alan Stern Reported-by: Dan Williams Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed