summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-29 11:49:41 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 12:40:07 +0100
commitcc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d (patch)
tree1d05177ca24588bbeba596f44704af4bf109b16b /drivers/media/video/gspca/sonixj.c
parentV4L/DVB (10048): gspca - stv06xx: New subdriver. (diff)
downloadlinux-cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d.tar.xz
linux-cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d.zip
V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 57232ba96b4a..3373b8d9d2a8 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/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,