tty: Fix tty_ldisc_lock name collision
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 11:04:46 +0000 (07:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:38:34 +0000 (16:38 -0700)
commit137084bbaddf4f6dde948ef3a14e18ba0754cc0d
treecbb5df7fd5b9950ca9f7c8a011199e5a07bdb727
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
tty: Fix tty_ldisc_lock name collision

The file scope spinlock identifier, tty_ldisc_lock, will collide
with the file scope lock function tty_ldisc_lock() so rename it.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
drivers/tty/tty_ldisc.c