public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix serial_txx9 compile.
@ 2008-07-21 21:16 Dave Jones
  2008-07-21 22:00 ` Alan Cox
  2008-07-21 22:13 ` Fix icom serial compile Dave Jones
  0 siblings, 2 replies; 12+ messages in thread
From: Dave Jones @ 2008-07-21 21:16 UTC (permalink / raw)
  To: Linux Kernel; +Cc: alan

drivers/serial/serial_txx9.c: In function 'receive_chars':
drivers/serial/serial_txx9.c:275: error: 'struct uart_info' has no member named 'tty'

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.26.noarch/drivers/serial/serial_txx9.c~	2008-07-21 17:13:21.000000000 -0400
+++ linux-2.6.26.noarch/drivers/serial/serial_txx9.c	2008-07-21 17:13:37.000000000 -0400
@@ -272,7 +272,7 @@ static void serial_txx9_initialize(struc
 static inline void
 receive_chars(struct uart_txx9_port *up, unsigned int *status)
 {
-	struct tty_struct *tty = up->port.info->tty;
+	struct tty_struct *tty = up->port.info->port.tty;
 	unsigned char ch;
 	unsigned int disr = *status;
 	int max_count = 256;

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-07-22 11:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21 21:16 Fix serial_txx9 compile Dave Jones
2008-07-21 22:00 ` Alan Cox
2008-07-21 22:27   ` Dave Jones
2008-07-21 22:34     ` Alan Cox
2008-07-21 22:13 ` Fix icom serial compile Dave Jones
2008-07-21 22:07   ` Alan Cox
2008-07-22  1:25     ` Stephen Rothwell
2008-07-22  2:05       ` Alan Cox
2008-07-22  2:41         ` Dave Jones
2008-07-22 10:46           ` Alan Cox
2008-07-22  1:56     ` Paul Mackerras
2008-07-22  2:06       ` Alan Cox

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