summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-29 11:49:41 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-12-29 11:49:41 +0100
commitf5629a5531c925ba3d87d93df226687316187a4c (patch)
tree19f0d5da7b2a184f270459bff955efac1b1d414c /linux/drivers/media/video/gspca/sonixj.c
parent4b1f1c3b32a2a577979320acb82f1f610641f4ef (diff)
downloadmediapointer-dvb-s2-f5629a5531c925ba3d87d93df226687316187a4c.tar.gz
mediapointer-dvb-s2-f5629a5531c925ba3d87d93df226687316187a4c.tar.bz2
gspca - many subdrivers: Set 'const' the pixel format table.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/sonixj.c')
-rw-r--r--linux/drivers/media/video/gspca/sonixj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/sonixj.c b/linux/drivers/media/video/gspca/sonixj.c
index ff94cd639..217db0d88 100644
--- a/linux/drivers/media/video/gspca/sonixj.c
+++ b/linux/drivers/media/video/gspca/sonixj.c
@@ -225,7 +225,7 @@ static __u32 ctrl_dis[] = {
/* SENSOR_OV7660 6 */
};
-static struct v4l2_pix_format vga_mode[] = {
+static const struct v4l2_pix_format vga_mode[] = {
{160, 120, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
.bytesperline = 160,
.sizeimage = 160 * 120 * 4 / 8 + 590,