]> Git Repo - linux.git/blobdiff - arch/xtensa/platforms/iss/console.c
TTY: use tty_port_link_device
[linux.git] / arch / xtensa / platforms / iss / console.c
index f9726f6afdf1f00432ca627820f61ab56f6c109c..2cd3d3a3400b483290075843d8e538da17c51986 100644 (file)
@@ -223,6 +223,7 @@ int __init rs_init(void)
        serial_driver->flags = TTY_DRIVER_REAL_RAW;
 
        tty_set_operations(serial_driver, &serial_ops);
+       tty_port_link_device(&serial_port, serial_driver, 0);
 
        if (tty_register_driver(serial_driver))
                panic("Couldn't register serial driver\n");
This page took 0.029258 seconds and 4 git commands to generate.