diff options
Diffstat (limited to 'net/bluetooth/rfcomm/tty.c')
-rw-r--r-- | net/bluetooth/rfcomm/tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index b81fad893328..b105a715fa93 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c | |||
@@ -1021,13 +1021,12 @@ int rfcomm_init_ttys(void) | |||
1021 | 1021 | ||
1022 | rfcomm_tty_driver->owner = THIS_MODULE; | 1022 | rfcomm_tty_driver->owner = THIS_MODULE; |
1023 | rfcomm_tty_driver->driver_name = "rfcomm"; | 1023 | rfcomm_tty_driver->driver_name = "rfcomm"; |
1024 | rfcomm_tty_driver->devfs_name = "bluetooth/rfcomm/"; | ||
1025 | rfcomm_tty_driver->name = "rfcomm"; | 1024 | rfcomm_tty_driver->name = "rfcomm"; |
1026 | rfcomm_tty_driver->major = RFCOMM_TTY_MAJOR; | 1025 | rfcomm_tty_driver->major = RFCOMM_TTY_MAJOR; |
1027 | rfcomm_tty_driver->minor_start = RFCOMM_TTY_MINOR; | 1026 | rfcomm_tty_driver->minor_start = RFCOMM_TTY_MINOR; |
1028 | rfcomm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; | 1027 | rfcomm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; |
1029 | rfcomm_tty_driver->subtype = SERIAL_TYPE_NORMAL; | 1028 | rfcomm_tty_driver->subtype = SERIAL_TYPE_NORMAL; |
1030 | rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; | 1029 | rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; |
1031 | rfcomm_tty_driver->init_termios = tty_std_termios; | 1030 | rfcomm_tty_driver->init_termios = tty_std_termios; |
1032 | rfcomm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; | 1031 | rfcomm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; |
1033 | tty_set_operations(rfcomm_tty_driver, &rfcomm_ops); | 1032 | tty_set_operations(rfcomm_tty_driver, &rfcomm_ops); |