diff options
author | Alan Cox <alan@redhat.com> | 2008-07-22 06:08:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-22 16:03:22 -0400 |
commit | 1aa3692da57c773e5c76de55c5c4a953962d360e (patch) | |
tree | 8f9453b2d07fe7e83a5d34ca076dbf424bcaf660 | |
parent | d35cb360c29956510b2fe1a953bd4968536f7216 (diff) |
ttydev: Fix up compile failures in the PPC build
Fix up a couple of reported merge problems
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/serial/icom.c | 2 | ||||
-rw-r--r-- | drivers/serial/serial_txx9.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/icom.c b/drivers/serial/icom.c index 9c2df5c857cf..2b7531d9f6ab 100644 --- a/drivers/serial/icom.c +++ b/drivers/serial/icom.c | |||
@@ -730,7 +730,7 @@ static void xmit_interrupt(u16 port_int_reg, struct icom_port *icom_port) | |||
730 | static void recv_interrupt(u16 port_int_reg, struct icom_port *icom_port) | 730 | static void recv_interrupt(u16 port_int_reg, struct icom_port *icom_port) |
731 | { | 731 | { |
732 | short int count, rcv_buff; | 732 | short int count, rcv_buff; |
733 | struct tty_struct *tty = icom_port->uart_port.info->tty; | 733 | struct tty_struct *tty = icom_port->uart_port.info->port.tty; |
734 | unsigned short int status; | 734 | unsigned short int status; |
735 | struct uart_icount *icount; | 735 | struct uart_icount *icount; |
736 | unsigned long offset; | 736 | unsigned long offset; |
diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c index 7ad21925869a..8fcb4c5b9a26 100644 --- a/drivers/serial/serial_txx9.c +++ b/drivers/serial/serial_txx9.c | |||
@@ -272,7 +272,7 @@ static void serial_txx9_initialize(struct uart_port *port) | |||
272 | static inline void | 272 | static inline void |
273 | receive_chars(struct uart_txx9_port *up, unsigned int *status) | 273 | receive_chars(struct uart_txx9_port *up, unsigned int *status) |
274 | { | 274 | { |
275 | struct tty_struct *tty = up->port.info->tty; | 275 | struct tty_struct *tty = up->port.info->port.tty; |
276 | unsigned char ch; | 276 | unsigned char ch; |
277 | unsigned int disr = *status; | 277 | unsigned int disr = *status; |
278 | int max_count = 256; | 278 | int max_count = 256; |