aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l1-compat.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:30:21 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:30:21 -0400
commitc81010bf41ec1e888e46898f57cd0e2cdac326a4 (patch)
treeacff9f7489c88fc42b47a1a810af4a93ccb03c96 /drivers/media/video/v4l1-compat.c
parentb0cdb5e11800dd76d9bb69aa335c8a33ddc50f5a (diff)
V4L: 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. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'drivers/media/video/v4l1-compat.c')
-rw-r--r--drivers/media/video/v4l1-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/v4l1-compat.c b/drivers/media/video/v4l1-compat.c
index 50e1ff9f2be5..e3ac5e686075 100644
--- a/drivers/media/video/v4l1-compat.c
+++ b/drivers/media/video/v4l1-compat.c
@@ -126,7 +126,7 @@ set_v4l_control(struct inode *inode,
126 126
127/* ----------------------------------------------------------------- */ 127/* ----------------------------------------------------------------- */
128 128
129const static unsigned int palette2pixelformat[] = { 129static const unsigned int palette2pixelformat[] = {
130 [VIDEO_PALETTE_GREY] = V4L2_PIX_FMT_GREY, 130 [VIDEO_PALETTE_GREY] = V4L2_PIX_FMT_GREY,
131 [VIDEO_PALETTE_RGB555] = V4L2_PIX_FMT_RGB555, 131 [VIDEO_PALETTE_RGB555] = V4L2_PIX_FMT_RGB555,
132 [VIDEO_PALETTE_RGB565] = V4L2_PIX_FMT_RGB565, 132 [VIDEO_PALETTE_RGB565] = V4L2_PIX_FMT_RGB565,