]> git.neil.brown.name Git - history.git/commitdiff
TTY: Use the tty_devclass for all usb-serial devices.
authorGreg Kroah-Hartman <greg@kroah.com>
Sun, 29 Dec 2002 15:42:02 +0000 (07:42 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Sun, 29 Dec 2002 15:42:02 +0000 (07:42 -0800)
drivers/usb/serial/bus.c

index 6994566513f0dfbdefc66e3a62f679dd2b55f219..46986b9a67f305cadaf1b47bccc41a2266572ef0 100644 (file)
@@ -128,6 +128,7 @@ int usb_serial_bus_register(struct usb_serial_device_type *device)
        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);