summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tc')
-rw-r--r--drivers/tc/zs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index 582d926..7f27b35 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -1753,7 +1753,7 @@ int __init zs_init(void)
serial_driver->init_termios = tty_std_termios;
serial_driver->init_termios.c_cflag =
B9600 | CS8 | CREAD | HUPCL | CLOCAL;
- serial_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS;
+ serial_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
tty_set_operations(serial_driver, &serial_ops);
if (tty_register_driver(serial_driver))
OpenPOWER on IntegriCloud