public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 68360serial: Plumb in rs_360_get_icount()
@ 2011-01-16  5:16 Ben Hutchings
  0 siblings, 0 replies; only message in thread
From: Ben Hutchings @ 2011-01-16  5:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Alan Cox, LKML

Commit 0587102cf9f427c185bfdeb2cef41e13ee0264b1 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]
---
I have not even compiled this (it's an m68k-specific driver), but it
looks obvious enough.

Ben.

 drivers/serial/68360serial.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c
index e843b90..677a496 100644
--- a/drivers/serial/68360serial.c
+++ b/drivers/serial/68360serial.c
@@ -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)
-- 
1.7.2.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-16  5:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-16  5:16 [PATCH] 68360serial: Plumb in rs_360_get_icount() Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox