Commit 8d0c9758 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix up cdc-acm driver's tty and devfs names.

parent 6be0b43e
...@@ -765,7 +765,8 @@ static int __init acm_init(void) ...@@ -765,7 +765,8 @@ static int __init acm_init(void)
return -ENOMEM; return -ENOMEM;
acm_tty_driver->owner = THIS_MODULE, acm_tty_driver->owner = THIS_MODULE,
acm_tty_driver->driver_name = "acm", acm_tty_driver->driver_name = "acm",
acm_tty_driver->name = "usb/acm/", acm_tty_driver->name = "ttyACM",
acm_tty_driver->devfs_name = "usb/acm/",
acm_tty_driver->major = ACM_TTY_MAJOR, acm_tty_driver->major = ACM_TTY_MAJOR,
acm_tty_driver->minor_start = 0, acm_tty_driver->minor_start = 0,
acm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL, acm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL,
......
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