misc: pti, fix tty_port count
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:35 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:29:57 +0000 (13:29 -0700)
commit5bd420009716f3348610fdf9c6307f0db583ba04
tree59041467e7ab06f8e005b4004a7e29e9ab3b239d
parentfbf1c247dac8574ef3973adce4b20d40ff22214e
misc: pti, fix tty_port count

We now have *one* tty_port for both TTYs. How this was supposed to
work? Change it to have a tty_port for each of TTYs.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pti.c