Commit 1b2fe820 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Vojtech Pavlik

[PATCH] USB: make the usbserial driver have the same name for the tty, usb, and module subsystems.

parent 5a8e410f
...@@ -366,7 +366,7 @@ static struct usb_device_id generic_serial_ids[] = { ...@@ -366,7 +366,7 @@ static struct usb_device_id generic_serial_ids[] = {
/* Driver structure we register with the USB core */ /* Driver structure we register with the USB core */
static struct usb_driver usb_serial_driver = { static struct usb_driver usb_serial_driver = {
.name = "serial", .name = "usbserial",
.probe = usb_serial_probe, .probe = usb_serial_probe,
.disconnect = usb_serial_disconnect, .disconnect = usb_serial_disconnect,
#ifdef CONFIG_USB_SERIAL_GENERIC #ifdef CONFIG_USB_SERIAL_GENERIC
...@@ -1259,7 +1259,7 @@ void usb_serial_disconnect(struct usb_interface *interface) ...@@ -1259,7 +1259,7 @@ void usb_serial_disconnect(struct usb_interface *interface)
struct tty_driver usb_serial_tty_driver = { struct tty_driver usb_serial_tty_driver = {
.magic = TTY_DRIVER_MAGIC, .magic = TTY_DRIVER_MAGIC,
.driver_name = "usb-serial", .driver_name = "usbserial",
#ifndef CONFIG_DEVFS_FS #ifndef CONFIG_DEVFS_FS
.name = "ttyUSB", .name = "ttyUSB",
#else #else
......
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