diff options
author | Alan Cox <[email protected]> | 2010-06-01 22:52:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-08-10 13:47:41 -0700 |
commit | d87d9b7d19f04b16c4406d3c0feeca10090e0ada (patch) | |
tree | c6eadc964d4fdfe9e421a2d4d4143748f4668a6b /include/linux/console_struct.h | |
parent | eab4f5af6b07009d1fc48bac5f3215c0cbfb2fc3 (diff) |
tty: serial - fix tty referencing in set_ldisc
Pass down the ldisc number so that the drivers don't have to peek into the
tty object themselves. This lets us get rid of another case of back referencing
port to tty which we don't want (because of races versus hangup/close).
Signed-off-by: Alan Cox <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions