Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754907AbYGUWA6 (ORCPT ); Mon, 21 Jul 2008 18:00:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752307AbYGUWAt (ORCPT ); Mon, 21 Jul 2008 18:00:49 -0400 Received: from mx1.redhat.com ([66.187.233.31]:48228 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbYGUWAt (ORCPT ); Mon, 21 Jul 2008 18:00:49 -0400 Date: Mon, 21 Jul 2008 17:16:59 -0400 From: Dave Jones To: Linux Kernel Cc: alan@redhat.com Subject: Fix serial_txx9 compile. Message-ID: <20080721211659.GA29106@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel , alan@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 24 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/