Skip to content

Commit

Permalink
68360serial: Plumb in rs_360_get_icount()
Browse files Browse the repository at this point in the history
Commit 0587102 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: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@kernel.org [2.6.37]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ben Hutchings authored and Greg Kroah-Hartman committed Feb 3, 2011
1 parent 91f78f3 commit 3e517f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/68360serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,7 @@ static const struct tty_operations rs_360_ops = {
/* .read_proc = rs_360_read_proc, */
.tiocmget = rs_360_tiocmget,
.tiocmset = rs_360_tiocmset,
.get_icount = rs_360_get_icount,
};

static int __init rs_360_init(void)
Expand Down

0 comments on commit 3e517f4

Please sign in to comment.