aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:32:16 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:32:16 -0400
commit22d56fce95f8cfcae8376e6da99e232583c61845 (patch)
tree345becad6fbcc307f01f18b37242339dc3f08e1b /drivers
parentc81010bf41ec1e888e46898f57cd0e2cdac326a4 (diff)
V4L: Storage class should be before const qualifier (sn9c102)
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> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/sn9c102/sn9c102_sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102_sensor.h b/drivers/media/video/sn9c102/sn9c102_sensor.h
index 2d7d786b8430..2dc7c6869484 100644
--- a/drivers/media/video/sn9c102/sn9c102_sensor.h
+++ b/drivers/media/video/sn9c102/sn9c102_sensor.h
@@ -126,7 +126,7 @@ extern int sn9c102_write_regs(struct sn9c102_device*, const u8 valreg[][2],
126 Register adresses must be < 256. 126 Register adresses must be < 256.
127*/ 127*/
128#define sn9c102_write_const_regs(sn9c102_device, data...) \ 128#define sn9c102_write_const_regs(sn9c102_device, data...) \
129 ({ const static u8 _valreg[][2] = {data}; \ 129 ({ static const u8 _valreg[][2] = {data}; \
130 sn9c102_write_regs(sn9c102_device, _valreg, ARRAY_SIZE(_valreg)); }) 130 sn9c102_write_regs(sn9c102_device, _valreg, ARRAY_SIZE(_valreg)); })
131 131
132/*****************************************************************************/ 132/*****************************************************************************/