[PATCH] USB: fix usb-serial generic initialization
commit06299db3e7f857a4985cf70dc1a5049ec12482c1
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 May 2005 12:55:55 +0000 (26 05:55 -0700)
committerGreg KH <gregkh@suse.de>
Tue, 31 May 2005 21:13:59 +0000 (31 14:13 -0700)
tree115792ba36a9b4fe1f57d849c4f9ac2d0e80a90f
parent47900743a56dc41a053107d64054aca3e1b42157
[PATCH] USB: fix usb-serial generic initialization

At module load time, if a generic device is found, the tty information
for the device is not set up properly (as the tty structures aren't initialized
yet.)  This can cause big problems for things like udev.  This patch fixes this.

Thanks to Kay Sievers for the original patch for this problem.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c