diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/crisv10.c | 2 | ||||
-rw-r--r-- | drivers/serial/serial_core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c index 89700141f87e..2364c3949981 100644 --- a/drivers/serial/crisv10.c +++ b/drivers/serial/crisv10.c | |||
@@ -4884,7 +4884,7 @@ rs_init(void) | |||
4884 | driver->init_termios = tty_std_termios; | 4884 | driver->init_termios = tty_std_termios; |
4885 | driver->init_termios.c_cflag = | 4885 | driver->init_termios.c_cflag = |
4886 | B115200 | CS8 | CREAD | HUPCL | CLOCAL; /* is normally B9600 default... */ | 4886 | B115200 | CS8 | CREAD | HUPCL | CLOCAL; /* is normally B9600 default... */ |
4887 | driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; | 4887 | driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; |
4888 | driver->termios = serial_termios; | 4888 | driver->termios = serial_termios; |
4889 | driver->termios_locked = serial_termios_locked; | 4889 | driver->termios_locked = serial_termios_locked; |
4890 | 4890 | ||
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 84d70d855598..7dc1e67b6851 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c | |||
@@ -2160,7 +2160,7 @@ int uart_register_driver(struct uart_driver *drv) | |||
2160 | normal->subtype = SERIAL_TYPE_NORMAL; | 2160 | normal->subtype = SERIAL_TYPE_NORMAL; |
2161 | normal->init_termios = tty_std_termios; | 2161 | normal->init_termios = tty_std_termios; |
2162 | normal->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; | 2162 | normal->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; |
2163 | normal->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; | 2163 | normal->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; |
2164 | normal->driver_state = drv; | 2164 | normal->driver_state = drv; |
2165 | tty_set_operations(normal, &uart_ops); | 2165 | tty_set_operations(normal, &uart_ops); |
2166 | 2166 | ||