diff options
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index d41dc67ba4cc..3670d77e912c 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -1145,12 +1145,11 @@ static int __init acm_init(void) | |||
1145 | acm_tty_driver->owner = THIS_MODULE, | 1145 | acm_tty_driver->owner = THIS_MODULE, |
1146 | acm_tty_driver->driver_name = "acm", | 1146 | acm_tty_driver->driver_name = "acm", |
1147 | acm_tty_driver->name = "ttyACM", | 1147 | acm_tty_driver->name = "ttyACM", |
1148 | acm_tty_driver->devfs_name = "usb/acm/", | ||
1149 | acm_tty_driver->major = ACM_TTY_MAJOR, | 1148 | acm_tty_driver->major = ACM_TTY_MAJOR, |
1150 | acm_tty_driver->minor_start = 0, | 1149 | acm_tty_driver->minor_start = 0, |
1151 | acm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL, | 1150 | acm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL, |
1152 | acm_tty_driver->subtype = SERIAL_TYPE_NORMAL, | 1151 | acm_tty_driver->subtype = SERIAL_TYPE_NORMAL, |
1153 | acm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS, | 1152 | acm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; |
1154 | acm_tty_driver->init_termios = tty_std_termios; | 1153 | acm_tty_driver->init_termios = tty_std_termios; |
1155 | acm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; | 1154 | acm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; |
1156 | tty_set_operations(acm_tty_driver, &acm_ops); | 1155 | tty_set_operations(acm_tty_driver, &acm_ops); |