summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rioparam.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-16 21:55:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:12:36 -0700
commitb5391e29f428d11755ca2c91074c6db6f5c69d7c (patch)
treec7d98ff50e5f22569290066ecb33077a7a3165b5 /drivers/char/rio/rioparam.c
parent4982d6b37a5ccebe6c2af79970c7a15c1939243a (diff)
downloadop-kernel-dev-b5391e29f428d11755ca2c91074c6db6f5c69d7c.zip
op-kernel-dev-b5391e29f428d11755ca2c91074c6db6f5c69d7c.tar.gz
gs: use tty_port
Switch drivers using the old "generic serial" driver to use the tty_port structures Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/rio/rioparam.c')
-rw-r--r--drivers/char/rio/rioparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/rio/rioparam.c b/drivers/char/rio/rioparam.c
index 447ca34..d687c17 100644
--- a/drivers/char/rio/rioparam.c
+++ b/drivers/char/rio/rioparam.c
@@ -160,7 +160,7 @@ int RIOParam(struct Port *PortP, int cmd, int Modem, int SleepFlag)
func_enter();
- TtyP = PortP->gs.tty;
+ TtyP = PortP->gs.port.tty;
rio_dprintk(RIO_DEBUG_PARAM, "RIOParam: Port:%d cmd:%d Modem:%d SleepFlag:%d Mapped: %d, tty=%p\n", PortP->PortNum, cmd, Modem, SleepFlag, PortP->Mapped, TtyP);
OpenPOWER on IntegriCloud