Commit 3e517f4b authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman

68360serial: Plumb in rs_360_get_icount()

Commit 0587102c replaced a direct
implementation of SIOCGICOUNT with an implementation of
tty_operations::get_icount, but it did not actually set
rs_360_ops.get_icount.
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: stable@kernel.org [2.6.37]
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 91f78f36
...@@ -2428,6 +2428,7 @@ static const struct tty_operations rs_360_ops = { ...@@ -2428,6 +2428,7 @@ static const struct tty_operations rs_360_ops = {
/* .read_proc = rs_360_read_proc, */ /* .read_proc = rs_360_read_proc, */
.tiocmget = rs_360_tiocmget, .tiocmget = rs_360_tiocmget,
.tiocmset = rs_360_tiocmset, .tiocmset = rs_360_tiocmset,
.get_icount = rs_360_get_icount,
}; };
static int __init rs_360_init(void) static int __init rs_360_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment