diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-12-23 07:53:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:33 -0500 |
commit | f0ecba96e76295792a0b1ee2e03b505562e7b9f3 (patch) | |
tree | 066485bc36d2ce3e5dd8e92cc8c5aac8b6b00d38 /drivers/media | |
parent | 9d68e8de9f8ab14077dd8d3c6ed9087ea61544a6 (diff) |
V4L/DVB (13952): gspca: 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.
Cc: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_mt9m111.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.c b/drivers/media/video/gspca/m5602/m5602_mt9m111.c index 382ea4f3a285..c0722fa64606 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[] = { | |||
48 | } | 48 | } |
49 | }; | 49 | }; |
50 | 50 | ||
51 | const static struct ctrl mt9m111_ctrls[] = { | 51 | static const struct ctrl mt9m111_ctrls[] = { |
52 | #define VFLIP_IDX 0 | 52 | #define VFLIP_IDX 0 |
53 | { | 53 | { |
54 | { | 54 | { |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.c b/drivers/media/video/gspca/m5602/m5602_ov7660.c index 2a28b74cb3f9..62c1cbf06666 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); | |||
33 | static int ov7660_get_vflip(struct gspca_dev *gspca_dev, __s32 *val); | 33 | static int ov7660_get_vflip(struct gspca_dev *gspca_dev, __s32 *val); |
34 | static int ov7660_set_vflip(struct gspca_dev *gspca_dev, __s32 val); | 34 | static int ov7660_set_vflip(struct gspca_dev *gspca_dev, __s32 val); |
35 | 35 | ||
36 | const static struct ctrl ov7660_ctrls[] = { | 36 | static const struct ctrl ov7660_ctrls[] = { |
37 | #define GAIN_IDX 1 | 37 | #define GAIN_IDX 1 |
38 | { | 38 | { |
39 | { | 39 | { |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index f5588ebe667c..4d9dcf29da2e 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); | |||
94 | int ov7660_stop(struct sd *sd); | 94 | int ov7660_stop(struct sd *sd); |
95 | void ov7660_disconnect(struct sd *sd); | 95 | void ov7660_disconnect(struct sd *sd); |
96 | 96 | ||
97 | const static struct m5602_sensor ov7660 = { | 97 | static const struct m5602_sensor ov7660 = { |
98 | .name = "ov7660", | 98 | .name = "ov7660", |
99 | .i2c_slave_id = 0x42, | 99 | .i2c_slave_id = 0x42, |
100 | .i2c_regW = 1, | 100 | .i2c_regW = 1, |