summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-21 23:34:49 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-21 23:34:49 +0000
commitf2d89cb939715a0b26b35d3f4d334a5736dd309d (patch)
tree35a174ff563f653d15a6816afa91b707acf8de53 /linux/drivers/media/video
parent1012e50d3f53435f01b9af729ef23125eb4cc6e2 (diff)
downloadmediapointer-dvb-s2-f2d89cb939715a0b26b35d3f4d334a5736dd309d.tar.gz
mediapointer-dvb-s2-f2d89cb939715a0b26b35d3f4d334a5736dd309d.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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/v4l1-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l1-compat.c b/linux/drivers/media/video/v4l1-compat.c
index f37a4008e..969b539a6 100644
--- a/linux/drivers/media/video/v4l1-compat.c
+++ b/linux/drivers/media/video/v4l1-compat.c
@@ -127,7 +127,7 @@ set_v4l_control(struct inode *inode,
/* ----------------------------------------------------------------- */
-const static unsigned int palette2pixelformat[] = {
+static const unsigned int palette2pixelformat[] = {
[VIDEO_PALETTE_GREY] = V4L2_PIX_FMT_GREY,
[VIDEO_PALETTE_RGB555] = V4L2_PIX_FMT_RGB555,
[VIDEO_PALETTE_RGB565] = V4L2_PIX_FMT_RGB565,