Commit e29145f4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 6c95cbe9
...@@ -128,6 +128,7 @@ int usb_serial_bus_register(struct usb_serial_device_type *device) ...@@ -128,6 +128,7 @@ int usb_serial_bus_register(struct usb_serial_device_type *device)
device->driver.bus = &usb_serial_bus_type; device->driver.bus = &usb_serial_bus_type;
device->driver.probe = usb_serial_device_probe; device->driver.probe = usb_serial_device_probe;
device->driver.remove = usb_serial_device_remove; device->driver.remove = usb_serial_device_remove;
device->driver.devclass = &tty_devclass;
retval = driver_register(&device->driver); retval = driver_register(&device->driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment