diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-04-26 08:30:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:49 -0400 |
commit | 2e03669d9da8c52f24ba44fdbd17c5df7be10585 (patch) | |
tree | 93cb98237b6761c8e9812ae97b201daf859788c7 /drivers/media/video/gspca/m5602 | |
parent | 72b79747a88f1ffcb6689cedacc01235bb545cd6 (diff) |
V4L/DVB (11654): gspca - m5602: Storage class should be before const qualifier
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>
Diffstat (limited to 'drivers/media/video/gspca/m5602')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_mt9m111.h | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.h | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_po1030.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_s5k4aa.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_s5k83a.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.h b/drivers/media/video/gspca/m5602/m5602_mt9m111.h index e71ddb786264..b3de77823091 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.h +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.h | |||
@@ -113,7 +113,7 @@ int mt9m111_init(struct sd *sd); | |||
113 | int mt9m111_start(struct sd *sd); | 113 | int mt9m111_start(struct sd *sd); |
114 | void mt9m111_disconnect(struct sd *sd); | 114 | void mt9m111_disconnect(struct sd *sd); |
115 | 115 | ||
116 | const static struct m5602_sensor mt9m111 = { | 116 | static const struct m5602_sensor mt9m111 = { |
117 | .name = "MT9M111", | 117 | .name = "MT9M111", |
118 | 118 | ||
119 | .i2c_slave_id = 0xba, | 119 | .i2c_slave_id = 0xba, |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.c b/drivers/media/video/gspca/m5602/m5602_ov9650.c index d8f776684b62..3219e7c6485b 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.c +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.c | |||
@@ -97,7 +97,7 @@ static | |||
97 | {} | 97 | {} |
98 | }; | 98 | }; |
99 | 99 | ||
100 | const static struct ctrl ov9650_ctrls[] = { | 100 | static const struct ctrl ov9650_ctrls[] = { |
101 | #define EXPOSURE_IDX 0 | 101 | #define EXPOSURE_IDX 0 |
102 | { | 102 | { |
103 | { | 103 | { |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.h b/drivers/media/video/gspca/m5602/m5602_ov9650.h index 27fe54204c45..c98c40d69e05 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.h +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.h | |||
@@ -143,7 +143,7 @@ int ov9650_start(struct sd *sd); | |||
143 | int ov9650_stop(struct sd *sd); | 143 | int ov9650_stop(struct sd *sd); |
144 | void ov9650_disconnect(struct sd *sd); | 144 | void ov9650_disconnect(struct sd *sd); |
145 | 145 | ||
146 | const static struct m5602_sensor ov9650 = { | 146 | static const struct m5602_sensor ov9650 = { |
147 | .name = "OV9650", | 147 | .name = "OV9650", |
148 | .i2c_slave_id = 0x60, | 148 | .i2c_slave_id = 0x60, |
149 | .i2c_regW = 1, | 149 | .i2c_regW = 1, |
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.c b/drivers/media/video/gspca/m5602/m5602_po1030.c index 270167bbcc36..8d74d8065b79 100644 --- a/drivers/media/video/gspca/m5602/m5602_po1030.c +++ b/drivers/media/video/gspca/m5602/m5602_po1030.c | |||
@@ -54,7 +54,7 @@ static struct v4l2_pix_format po1030_modes[] = { | |||
54 | } | 54 | } |
55 | }; | 55 | }; |
56 | 56 | ||
57 | const static struct ctrl po1030_ctrls[] = { | 57 | static const struct ctrl po1030_ctrls[] = { |
58 | #define GAIN_IDX 0 | 58 | #define GAIN_IDX 0 |
59 | { | 59 | { |
60 | { | 60 | { |
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c index aa4d3fdaaee2..78ea95ba7483 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c +++ b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c | |||
@@ -77,7 +77,7 @@ static struct v4l2_pix_format s5k4aa_modes[] = { | |||
77 | } | 77 | } |
78 | }; | 78 | }; |
79 | 79 | ||
80 | const static struct ctrl s5k4aa_ctrls[] = { | 80 | static const struct ctrl s5k4aa_ctrls[] = { |
81 | #define VFLIP_IDX 0 | 81 | #define VFLIP_IDX 0 |
82 | { | 82 | { |
83 | { | 83 | { |
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k83a.c b/drivers/media/video/gspca/m5602/m5602_s5k83a.c index 942030fd0cf7..df21ad19a94a 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k83a.c +++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.c | |||
@@ -44,7 +44,7 @@ static struct v4l2_pix_format s5k83a_modes[] = { | |||
44 | } | 44 | } |
45 | }; | 45 | }; |
46 | 46 | ||
47 | const static struct ctrl s5k83a_ctrls[] = { | 47 | static const struct ctrl s5k83a_ctrls[] = { |
48 | #define GAIN_IDX 0 | 48 | #define GAIN_IDX 0 |
49 | { | 49 | { |
50 | { | 50 | { |