From patchwork Mon Feb 9 20:59:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 6298 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n19LRbGP017473 for ; Mon, 9 Feb 2009 21:27:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754819AbZBIV1X (ORCPT ); Mon, 9 Feb 2009 16:27:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754777AbZBIV1X (ORCPT ); Mon, 9 Feb 2009 16:27:23 -0500 Received: from symlink.to.noone.org ([85.10.207.172]:58280 "EHLO sym.noone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754714AbZBIV1W (ORCPT ); Mon, 9 Feb 2009 16:27:22 -0500 X-Greylist: delayed 1660 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Feb 2009 16:27:22 EST Received: from xenon.distanz.ch (84-74-56-43.dclient.hispeed.ch [84.74.56.43]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by sym.noone.org (Postfix) with ESMTP id 15196B80010; Mon, 9 Feb 2009 21:59:41 +0100 (CET) Received: by xenon.distanz.ch (Postfix, from userid 1000) id 6462631286; Mon, 9 Feb 2009 21:59:40 +0100 (CET) Date: Mon, 9 Feb 2009 21:59:40 +0100 From: Tobias Klauser To: lethal@linux-sh.org, linux-sh@vger.kernel.org, kernel-janitors@vger.kernel.org, trivial@kernel.org Subject: [PATCH] sh: Storage class should be before const qualifier Message-ID: <20090209205940.GA6938@xenon.distanz.ch> MIME-Version: 1.0 Content-Disposition: inline X-Editor: Vi IMproved 7.2 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser --- arch/sh/kernel/cpu/sh2a/clock-sh7201.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/kernel/cpu/sh2a/clock-sh7201.c b/arch/sh/kernel/cpu/sh2a/clock-sh7201.c index 020a96f..4a5e597 100644 --- a/arch/sh/kernel/cpu/sh2a/clock-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/clock-sh7201.c @@ -18,8 +18,8 @@ #include #include -const static int pll1rate[]={1,2,3,4,6,8}; -const static int pfc_divisors[]={1,2,3,4,6,8,12}; +static const int pll1rate[]={1,2,3,4,6,8}; +static const int pfc_divisors[]={1,2,3,4,6,8,12}; #define ifc_divisors pfc_divisors #if (CONFIG_SH_CLK_MD == 0)