TTY: audit, stop accessing tty->icount
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Oct 2012 20:26:37 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:50:54 +0000 (16:50 -0700)
commit6c633f27ccf783e9a782b84e34aeaeb7949a3359
tree66180a876a5ff6c7d81672b725288ff4c83f80d9
parent3383427a7b325e50af03d6f42b9587ca66d941a6
TTY: audit, stop accessing tty->icount

This is a private member of n_tty. Stop accessing it. Instead, take is
as an argument.

This is needed to allow clean switch of the private members to a
separate private structure of n_tty.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_audit.c
include/linux/tty.h