Re: [PATCH] minor TTY changes for 2.5.53

From: Greg KH (greg@kroah.com)
Date: Mon Dec 30 2002 - 04:04:56 EST


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);
 
-
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/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:16 EST