TTY: mark tty_get_device call with the proper const values
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 23:59:18 +0000 (15:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 23:59:18 +0000 (15:59 -0800)
commit6e9430ac57e8c1f41ab24ef7fbb3d452c7eb7246
tree779ec47d873f409d4030ae4e5e99fd1c8715ec36
parent9f3b795a626ee79574595e06d1437fe0c7d51d29
TTY: mark tty_get_device call with the proper const values

Michał's previous patch missed this tty check to fix up the
class_find_device() arguments.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c