V4L/DVB (11654): gspca - m5602: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Sun, 26 Apr 2009 12:30:18 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:49 +0000 (18:20 -0300)
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.

[mchehab@redhat.com: Fix a trivial merge conflict]
Cc: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_mt9m111.h
drivers/media/video/gspca/m5602/m5602_ov9650.c
drivers/media/video/gspca/m5602/m5602_ov9650.h
drivers/media/video/gspca/m5602/m5602_po1030.c
drivers/media/video/gspca/m5602/m5602_s5k4aa.c
drivers/media/video/gspca/m5602/m5602_s5k83a.c

index e71ddb786264dd2eae793813e6a5600037c5c0d9..b3de77823091bf56ab37913e4122dd8fbc5e9ddf 100644 (file)
@@ -113,7 +113,7 @@ int mt9m111_init(struct sd *sd);
 int mt9m111_start(struct sd *sd);
 void mt9m111_disconnect(struct sd *sd);
 
-const static struct m5602_sensor mt9m111 = {
+static const struct m5602_sensor mt9m111 = {
        .name = "MT9M111",
 
        .i2c_slave_id = 0xba,
index d8f776684b62f42842cf3385b121364ae5bd27c4..3219e7c6485bd86547565d7bde72ccecdfa30abd 100644 (file)
@@ -97,7 +97,7 @@ static
        {}
 };
 
-const static struct ctrl ov9650_ctrls[] = {
+static const struct ctrl ov9650_ctrls[] = {
 #define EXPOSURE_IDX 0
        {
                {
index 27fe54204c450d16ce202c0d53421e33f2e0145a..c98c40d69e05e8c95ed666c0ef9479525c79962a 100644 (file)
@@ -143,7 +143,7 @@ int ov9650_start(struct sd *sd);
 int ov9650_stop(struct sd *sd);
 void ov9650_disconnect(struct sd *sd);
 
-const static struct m5602_sensor ov9650 = {
+static const struct m5602_sensor ov9650 = {
        .name = "OV9650",
        .i2c_slave_id = 0x60,
        .i2c_regW = 1,
index 270167bbcc369a375fbbb1ed04ab3224aff71b0c..8d74d8065b7977cb126d3fb23922830b317671f9 100644 (file)
@@ -54,7 +54,7 @@ static struct v4l2_pix_format po1030_modes[] = {
        }
 };
 
-const static struct ctrl po1030_ctrls[] = {
+static const struct ctrl po1030_ctrls[] = {
 #define GAIN_IDX 0
        {
                {
index aa4d3fdaaee278cf8dfba3e343884a8fb99ae387..78ea95ba748334b565156af5c89e216559f4af43 100644 (file)
@@ -77,7 +77,7 @@ static struct v4l2_pix_format s5k4aa_modes[] = {
        }
 };
 
-const static struct ctrl s5k4aa_ctrls[] = {
+static const struct ctrl s5k4aa_ctrls[] = {
 #define VFLIP_IDX 0
        {
                {
index 942030fd0cf7a65957357f54516e8e49c096dc7d..df21ad19a94a32a0b1444731f4e72aaf10f33446 100644 (file)
@@ -44,7 +44,7 @@ static struct v4l2_pix_format s5k83a_modes[] = {
        }
 };
 
-const static struct ctrl s5k83a_ctrls[] = {
+static const struct ctrl s5k83a_ctrls[] = {
 #define GAIN_IDX 0
        {
                {