From patchwork Wed Dec 23 12:53:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 69537 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBND5Jpb023532 for ; Wed, 23 Dec 2009 13:05:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755844AbZLWNFS (ORCPT ); Wed, 23 Dec 2009 08:05:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755855AbZLWNFR (ORCPT ); Wed, 23 Dec 2009 08:05:17 -0500 Received: from mx2.zhaw.ch ([160.85.104.51]:60986 "EHLO mx2.zhaw.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755841AbZLWNFQ (ORCPT ); Wed, 23 Dec 2009 08:05:16 -0500 Received: from mx2.zhaw.ch (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E76E53EB; Wed, 23 Dec 2009 13:53:50 +0100 (CET) Received: from localhost.localdomain (staff-klto-0.zhaw.ch [160.85.232.122]) by mx2.zhaw.ch (Postfix) with ESMTP id 661C31EC; Wed, 23 Dec 2009 13:53:50 +0100 (CET) From: Tobias Klauser To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, Tobias Klauser , Erik Andren , Jean-Francois Moine Subject: [PATCH 3/3] [V4L/DVB] gspca: Storage class should be before const qualifier Date: Wed, 23 Dec 2009 13:53:14 +0100 Message-Id: <1261572794-8369-3-git-send-email-tklauser@distanz.ch> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1261572794-8369-2-git-send-email-tklauser@distanz.ch> References: <1261572794-8369-1-git-send-email-tklauser@distanz.ch> <1261572794-8369-2-git-send-email-tklauser@distanz.ch> X-PMX-Version: 5.5.8.383112, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2009.12.23.124526 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __CP_MEDIA_BODY 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NS ' Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.c b/drivers/media/video/gspca/m5602/m5602_mt9m111.c index 8d071df..3285957 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.c +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.c @@ -48,7 +48,7 @@ static struct v4l2_pix_format mt9m111_modes[] = { } }; -const static struct ctrl mt9m111_ctrls[] = { +static const struct ctrl mt9m111_ctrls[] = { #define VFLIP_IDX 0 { { diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.c b/drivers/media/video/gspca/m5602/m5602_ov7660.c index 2a28b74..62c1cbf 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.c +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.c @@ -33,7 +33,7 @@ static int ov7660_set_hflip(struct gspca_dev *gspca_dev, __s32 val); static int ov7660_get_vflip(struct gspca_dev *gspca_dev, __s32 *val); static int ov7660_set_vflip(struct gspca_dev *gspca_dev, __s32 val); -const static struct ctrl ov7660_ctrls[] = { +static const struct ctrl ov7660_ctrls[] = { #define GAIN_IDX 1 { { diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index f5588eb..4d9dcf2 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h @@ -94,7 +94,7 @@ int ov7660_start(struct sd *sd); int ov7660_stop(struct sd *sd); void ov7660_disconnect(struct sd *sd); -const static struct m5602_sensor ov7660 = { +static const struct m5602_sensor ov7660 = { .name = "ov7660", .i2c_slave_id = 0x42, .i2c_regW = 1,