commit | c12da96f801a3f45b0634c966b9e7cda307daa72 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Jan 10 22:41:04 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 27 15:01:44 2016 -0800 |
tree | 470bde777d834f7a3572d8737d6af12b0881ada1 | |
parent | 6ffeb4b2782b31f3d7158795a451ad371955e8a2 [diff] |
tty: Use 'disc' for line discipline index name tty->ldisc is a ptr to struct tty_ldisc, but unfortunately 'ldisc' is also used as a parameter or local name to refer to the line discipline index value (ie, N_TTY, N_GSM, etc.); instead prefer the name used by the line discipline registration/ref counting functions. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>