projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-chris' of git://github.com/sensille/linux into integration
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
tty_driver.h
diff --git
a/include/linux/tty_driver.h
b/include/linux/tty_driver.h
index 9deeac85524078f0ef97b140f270c39391509f51..ecdaeb98b293727274b6511ee7ef523c00324564 100644
(file)
--- 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.
*
* 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);
*
*
* void (*cleanup)(struct tty_struct * tty);