From patchwork Sun Apr 26 13:03:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 20010 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 n3QD3ia0018814 for ; Sun, 26 Apr 2009 13:03:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750710AbZDZNDm (ORCPT ); Sun, 26 Apr 2009 09:03:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751556AbZDZNDm (ORCPT ); Sun, 26 Apr 2009 09:03:42 -0400 Received: from symlink.to.noone.org ([85.10.207.172]:54971 "EHLO sym.noone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750710AbZDZNDm (ORCPT ); Sun, 26 Apr 2009 09:03:42 -0400 Received: from xenon.distanz.ch (80-219-0-247.dclient.hispeed.ch [80.219.0.247]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by sym.noone.org (Postfix) with ESMTP id 6E14089404F; Sun, 26 Apr 2009 15:03:40 +0200 (CEST) Received: by xenon.distanz.ch (Postfix, from userid 1000) id B34AD5F36; Sun, 26 Apr 2009 15:03:29 +0200 (CEST) From: Tobias Klauser To: mchehab@infradead.org, linux-media@vger.kernel.org Cc: stefanr@s5r6.in-berlin.de, Tobias Klauser Subject: [PATCH] firedtv: Storage class should be before const qualifier Date: Sun, 26 Apr 2009 15:03:29 +0200 Message-Id: <1240751009-10023-1-git-send-email-tklauser@distanz.ch> X-Mailer: git-send-email 1.6.2.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 Acked-by: Stefan Richter --- drivers/media/dvb/firewire/firedtv-rc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/firewire/firedtv-rc.c b/drivers/media/dvb/firewire/firedtv-rc.c index 46a6324..27bca2e 100644 --- a/drivers/media/dvb/firewire/firedtv-rc.c +++ b/drivers/media/dvb/firewire/firedtv-rc.c @@ -18,7 +18,7 @@ #include "firedtv.h" /* fixed table with older keycodes, geared towards MythTV */ -const static u16 oldtable[] = { +static const u16 oldtable[] = { /* code from device: 0x4501...0x451f */ @@ -62,7 +62,7 @@ const static u16 oldtable[] = { }; /* user-modifiable table for a remote as sold in 2008 */ -const static u16 keytable[] = { +static const u16 keytable[] = { /* code from device: 0x0300...0x031f */