diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-23 12:47:41 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-23 12:47:41 +0000 |
commit | a81f8011fb9b3a0e00bc4704f89237c588b6f7be (patch) | |
tree | e2fb803829a0f499d6992774a89d71a4d03c3f01 /linux/drivers/media | |
parent | e62b2d9c5b8121e5b6325b2337cb60fd64bfba9c (diff) | |
download | mediapointer-dvb-s2-a81f8011fb9b3a0e00bc4704f89237c588b6f7be.tar.gz mediapointer-dvb-s2-a81f8011fb9b3a0e00bc4704f89237c588b6f7be.tar.bz2 |
V4L: Storage class should be before const qualifier
From: Tobias Klauser <tklauser@distanz.ch>
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 <tklauser@distanz.ch>
CC: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/sn9c102/sn9c102_sensor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/sn9c102/sn9c102_sensor.h b/linux/drivers/media/video/sn9c102/sn9c102_sensor.h index d5fffc569..0f2ac649d 100644 --- a/linux/drivers/media/video/sn9c102/sn9c102_sensor.h +++ b/linux/drivers/media/video/sn9c102/sn9c102_sensor.h @@ -127,7 +127,7 @@ extern int sn9c102_write_regs(struct sn9c102_device*, const u8 valreg[][2], Register adresses must be < 256. */ #define sn9c102_write_const_regs(sn9c102_device, data...) \ - ({ const static u8 _valreg[][2] = {data}; \ + ({ static const u8 _valreg[][2] = {data}; \ sn9c102_write_regs(sn9c102_device, _valreg, ARRAY_SIZE(_valreg)); }) /*****************************************************************************/ |