Skip to contentSkip to conversation

68360serial: Plumb in rs_360_get_icount()

PATCH New Ben Hutchings 1 participant 1 message Jan 16, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 68360serial: Plumb in rs_360_get_icount()

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.

---
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(-)
drivers/serial/68360serial.c +1 -0
index e843b90..677a496 100644
@@ -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)
Signature · 1 line
1.7.2.3