From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932311AbZDAOHa (ORCPT ); Wed, 1 Apr 2009 10:07:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765571AbZDAOFQ (ORCPT ); Wed, 1 Apr 2009 10:05:16 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:37755 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1765547AbZDAOFP (ORCPT ); Wed, 1 Apr 2009 10:05:15 -0400 From: Alan Cox Subject: [PATCH 07/24] blackfin: Fix tty compile error in PIO mode To: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org Date: Wed, 01 Apr 2009 15:05:27 +0100 Message-ID: <20090401140525.22882.84292.stgit@localhost.localdomain> In-Reply-To: <20090401140241.22882.93477.stgit@localhost.localdomain> References: <20090401140241.22882.93477.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sonic Zhang drivers/serial/bfin_5xx.c: In function bfin_serial_rx_chars: drivers/serial/bfin_5xx.c:178: error: struct uart_info has no member named tty make[3]: *** [drivers/serial/bfin_5xx.o] Error 1 make[2]: *** [drivers/serial] Error 2 make[1]: *** [drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/root/projects/uClinux-dist/linux-2.6.x' make: *** [linux] Error 1 Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu Signed-off-by: Alan Cox --- drivers/serial/bfin_5xx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 45c32b2..d7b2716 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -174,10 +174,10 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart) return; } - if (!uart->port.info || !uart->port.info->tty) + if (!uart->port.info || !uart->port.info->port.tty) return; #endif - tty = uart->port.info->tty; + tty = uart->port.info->port.tty; if (ANOMALY_05000363) { /* The BF533 (and BF561) family of processors have a nice anomaly