mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: alan@redhat.com, akpm@linux-foundation.org
Cc: dhowells@redhat.com, linux-am33-list@redhat.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
Date: Fri, 11 Jul 2008 15:52:01 +0100	[thread overview]
Message-ID: <20080711145201.24870.13609.stgit@warthog.procyon.org.uk> (raw)

Fix MN10300's serial port driver to get at its tty_struct as this moved from
struct uart_info into struct tty_port in patch:

	commit 2500487cb5b4dbee56e127d699d14101016c5031
	Author: Alan Cox <alan@redhat.com>
	Date:   Fri Jul 11 17:23:39 2008 +1000

	    07-serial-core-use-tty_port

	    Switch the serial_core based drivers to use the new tty_port
	    structure. We can't quite use all of it yet because of the
	    dynamically allocated extras in the serial_core layer.

	    Signed-off-by: Alan Cox <alan@redhat.com>

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/mn10300/kernel/mn10300-serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c
index b9c268c..8b054e7 100644
--- a/arch/mn10300/kernel/mn10300-serial.c
+++ b/arch/mn10300/kernel/mn10300-serial.c
@@ -392,7 +392,7 @@ static int mask_test_and_clear(volatile u8 *ptr, u8 mask)
 static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port)
 {
 	struct uart_icount *icount = &port->uart.icount;
-	struct tty_struct *tty = port->uart.info->tty;
+	struct tty_struct *tty = port->uart.info->port.tty;
 	unsigned ix;
 	int count;
 	u8 st, ch, push, status, overrun;


             reply	other threads:[~2008-07-11 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11 14:52 David Howells [this message]
2008-07-11 14:51 ` Alan Cox
2008-07-11 16:17 ` David Howells
2008-07-11 16:22   ` Alan Cox
2008-07-11 19:12   ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080711145201.24870.13609.stgit@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alan@redhat.com \
    --cc=linux-am33-list@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®