lkml.org 
[lkml]   [2008]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectFix serial_txx9 compile.
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


\
 
 \ /
  Last update: 2008-07-22 00:03    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site