aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tc/zs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tc/zs.c')
-rw-r--r--drivers/tc/zs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index 2dffa8e303b2..7f27b356eaf7 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -1745,7 +1745,6 @@ int __init zs_init(void)
1745 /* Not all of this is exactly right for us. */ 1745 /* Not all of this is exactly right for us. */
1746 1746
1747 serial_driver->owner = THIS_MODULE; 1747 serial_driver->owner = THIS_MODULE;
1748 serial_driver->devfs_name = "tts/";
1749 serial_driver->name = "ttyS"; 1748 serial_driver->name = "ttyS";
1750 serial_driver->major = TTY_MAJOR; 1749 serial_driver->major = TTY_MAJOR;
1751 serial_driver->minor_start = 64; 1750 serial_driver->minor_start = 64;
@@ -1754,7 +1753,7 @@ int __init zs_init(void)
1754 serial_driver->init_termios = tty_std_termios; 1753 serial_driver->init_termios = tty_std_termios;
1755 serial_driver->init_termios.c_cflag = 1754 serial_driver->init_termios.c_cflag =
1756 B9600 | CS8 | CREAD | HUPCL | CLOCAL; 1755 B9600 | CS8 | CREAD | HUPCL | CLOCAL;
1757 serial_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; 1756 serial_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
1758 tty_set_operations(serial_driver, &serial_ops); 1757 tty_set_operations(serial_driver, &serial_ops);
1759 1758
1760 if (tty_register_driver(serial_driver)) 1759 if (tty_register_driver(serial_driver))