[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1393554063-25823-1-git-send-email-gmate.amit@gmail.com>
Date: Fri, 28 Feb 2014 04:21:03 +0200
From: Kumar Amit Mehta <gmate.amit@...il.com>
To: gregkh@...uxfoundation.org
Cc: standby24x7@...il.com, josh@...htriplett.org,
rashika.kheria@...il.com, lidza.louina@...il.com,
dan.carpenter@...cle.com, lisa@...apiadmin.com,
devel@...verdev.osuosl.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] staging: sb105x: b_pci_mp.c: fix for non-member access
'struct tty_struct’ has no member named ‘low_latency’
Signed-off-by: Kumar Amit Mehta <gmate.amit@...il.com>
---
drivers/staging/sb105x/sb_pci_mp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/sb105x/sb_pci_mp.c b/drivers/staging/sb105x/sb_pci_mp.c
index c9d6ee3..5687d6c 100644
--- a/drivers/staging/sb105x/sb_pci_mp.c
+++ b/drivers/staging/sb105x/sb_pci_mp.c
@@ -898,7 +898,7 @@ static int mp_set_info(struct sb_uart_state *state, struct serial_struct *newinf
state->closing_wait = closing_wait;
port->fifosize = new_serial.xmit_fifo_size;
if (state->info->tty)
- state->info->tty->low_latency =
+ state->info->tty->port->low_latency =
(port->flags & UPF_LOW_LATENCY) ? 1 : 0;
check_and_exit:
@@ -1571,7 +1571,7 @@ static int mp_open(struct tty_struct *tty, struct file *filp)
mtpt = (struct mp_port *)state->port;
tty->driver_data = state;
- tty->low_latency = (state->port->flags & UPF_LOW_LATENCY) ? 1 : 0;
+ tty->port->low_latency = (state->port->flags & UPF_LOW_LATENCY) ? 1 : 0;
tty->alt_speed = 0;
state->info->tty = tty;
--
1.8.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists