From patchwork Thu Oct 31 07:37:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gang X-Patchwork-Id: 3119411 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8BFACBF924 for ; Thu, 31 Oct 2013 07:38:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 977ED2039A for ; Thu, 31 Oct 2013 07:38:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 59F452037D for ; Thu, 31 Oct 2013 07:38:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084Ab3JaHiw (ORCPT ); Thu, 31 Oct 2013 03:38:52 -0400 Received: from intranet.asianux.com ([58.214.24.6]:18420 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053Ab3JaHiw (ORCPT ); Thu, 31 Oct 2013 03:38:52 -0400 Received: by intranet.asianux.com (Postfix, from userid 103) id ED13B18403A3; Thu, 31 Oct 2013 15:38:47 +0800 (CST) X-Spam-Score: -100.8 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from [10.1.100.108] (unknown [61.148.203.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by intranet.asianux.com (Postfix) with ESMTP id 3F8661840274; Thu, 31 Oct 2013 15:38:47 +0800 (CST) Message-ID: <527208CA.3000007@asianux.com> Date: Thu, 31 Oct 2013 15:37:46 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Greg KH , "dhowells@redhat.com" , "James E.J. Bottomley" , Helge Deller , "linux-kernel@vger.kernel.org" , Parisc List CC: Vineet Gupta , "w.d.hubbs@gmail.com" , "chris@the-brannons.com" , "kirk@reisers.ca" , "samuel.thibault@ens-lyon.org" , "devel@driverdev.osuosl.org" , "speakup@braille.uwo.ca" Subject: [PATCH] arch: * : include: asm: remove empty SERIAL_PORT_DFNS in serial.h References: <5267406C.9030805@asianux.com> <20131025052926.GA26786@kroah.com> <526BC113.3040003@asianux.com> <5271B1D2.6020301@asianux.com> <527202EF.6080704@asianux.com> In-Reply-To: <527202EF.6080704@asianux.com> Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If architectures don't support SERIAL_PORT_DFNS, they need not define it to "nothing", the related drivers need do it by themselves (e.g. 8250 serial driver). Signed-off-by: Chen Gang --- arch/frv/include/asm/serial.h | 2 -- arch/parisc/include/asm/serial.h | 2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/frv/include/asm/serial.h b/arch/frv/include/asm/serial.h index dbb8259..658ceea 100644 --- a/arch/frv/include/asm/serial.h +++ b/arch/frv/include/asm/serial.h @@ -14,5 +14,3 @@ #define BASE_BAUD 0 #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF - -#define SERIAL_PORT_DFNS diff --git a/arch/parisc/include/asm/serial.h b/arch/parisc/include/asm/serial.h index d7e3cc6..77e9b67 100644 --- a/arch/parisc/include/asm/serial.h +++ b/arch/parisc/include/asm/serial.h @@ -6,5 +6,3 @@ * This is used for 16550-compatible UARTs */ #define BASE_BAUD ( 1843200 / 16 ) - -#define SERIAL_PORT_DFNS