From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail01.idc.renesas.com (mail.renesas.com [202.234.163.13]) by ozlabs.org (Postfix) with ESMTP id 8D4F967B73 for ; Wed, 30 Aug 2006 23:09:56 +1000 (EST) Received: from mail01.idc.renesas.com ([127.0.0.1]) by mail01.idc.renesas.com. (SMSSMTP 4.1.13.45) with SMTP id M2006083022034201047 for ; Wed, 30 Aug 2006 22:03:42 +0900 Date: Wed, 30 Aug 2006 22:03:40 +0900 From: Hirokazu Takata Subject: Re: [CFT:PATCH] Removing possible wrong asm/serial.h inclusions In-reply-to: <20060828085244.GA13544@flint.arm.linux.org.uk> Sender: takata.hirokazu@renesas.com To: linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linuxppc-embedded@ozlabs.org, paulkf@microgate.com, takata@linux-m32r.org, linux-kernel@vger.kernel.org Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII References: <20060828085244.GA13544@flint.arm.linux.org.uk> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Russell King Subject: [CFT:PATCH] Removing possible wrong asm/serial.h inclusions Date: Mon, 28 Aug 2006 09:52:44 +0100 > diff --git a/drivers/serial/m32r_sio.c b/drivers/serial/m32r_sio.c > --- a/drivers/serial/m32r_sio.c > +++ b/drivers/serial/m32r_sio.c > @@ -76,17 +76,16 @@ > */ > #define is_real_interrupt(irq) ((irq) != 0) > > -#include > +#define BASE_BAUD 115200 > > /* Standard COM flags */ > #define STD_COM_FLAGS (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST) > > /* > * SERIAL_PORT_DFNS tells us about built-in ports that have no > * standard enumeration mechanism. Platforms that can find all > * serial ports via mechanisms like ACPI or PCI need not supply it. > */ > -#undef SERIAL_PORT_DFNS > #if defined(CONFIG_PLAT_USRV) > > #define SERIAL_PORT_DFNS \ > @@ -109,7 +108,7 @@ > #endif /* !CONFIG_PLAT_USRV */ > > static struct old_serial_port old_serial_port[] = { > - SERIAL_PORT_DFNS /* defined in asm/serial.h */ > + SERIAL_PORT_DFNS > }; > > #define UART_NR ARRAY_SIZE(old_serial_port) > Acked-by: Hirokazu Takata Thank you. -- Takata