X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Flinux%2Ftty_driver.h;h=ecdaeb98b293727274b6511ee7ef523c00324564;hb=531f4b1ae5e0fc8c9b3f03838218e5ea178f80d3;hp=9deeac85524078f0ef97b140f270c39391509f51;hpb=b73077eb03f510a84b102fb97640e595a958403c;p=firefly-linux-kernel-4.4.55.git diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 9deeac855240..ecdaeb98b293 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -47,6 +47,9 @@ * * This routine is called synchronously when a particular tty device * is closed for the last time freeing up the resources. + * Note that tty_shutdown() is not called if ops->shutdown is defined. + * This means one is responsible to take care of calling ops->remove (e.g. + * via tty_driver_remove_tty) and releasing tty->termios. * * * void (*cleanup)(struct tty_struct * tty);