Re: [PATCH] minor TTY changes for 2.5.53

Greg KH
2002-12-30T09:02:05Z

ChangeSet 1.956.3.3, 2002/12/29 23:42:02-08:00, greg@kroah.com

TTY: Use the tty_devclass for all usb-serial devices.

diff -Nru a/drivers/usb/serial/bus.c b/drivers/usb/serial/bus.c
--- a/drivers/usb/serial/bus.c Mon Dec 30 01:04:42 2002
+++ b/drivers/usb/serial/bus.c Mon Dec 30 01:04:42 2002
@@ -128,6 +128,7 @@
device->driver.bus = &usb_serial_bus_type;
device->driver.probe = usb_serial_device_probe;
device->driver.remove = usb_serial_device_remove;
+ device->driver.devclass = &tty_devclass;

retval = driver_register(&device->driver);