lkml.org 
[lkml]   [2002]   [Dec]   [30]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateMon, 30 Dec 2002 01:04:56 -0800
FromGreg KH <>
SubjectRe: [PATCH] minor TTY changes for 2.5.53
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/
\
 
 \ /
  Last update: 2005-03-22 11:32    [from the cache]
©2003-2008