diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 11:49:41 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 11:49:41 +0100 |
commit | f5629a5531c925ba3d87d93df226687316187a4c (patch) | |
tree | 19f0d5da7b2a184f270459bff955efac1b1d414c /linux/drivers/media/video/gspca/sonixb.c | |
parent | 4b1f1c3b32a2a577979320acb82f1f610641f4ef (diff) | |
download | mediapointer-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/sonixb.c')
-rw-r--r-- | linux/drivers/media/video/gspca/sonixb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/sonixb.c b/linux/drivers/media/video/gspca/sonixb.c index 5ca8ab780..75b44b362 100644 --- a/linux/drivers/media/video/gspca/sonixb.c +++ b/linux/drivers/media/video/gspca/sonixb.c @@ -227,7 +227,7 @@ static struct ctrl sd_ctrls[] = { }, }; -static struct v4l2_pix_format vga_mode[] = { +static const struct v4l2_pix_format vga_mode[] = { {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE, .bytesperline = 160, .sizeimage = 160 * 120, @@ -249,7 +249,7 @@ static struct v4l2_pix_format vga_mode[] = { .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0}, }; -static struct v4l2_pix_format sif_mode[] = { +static const struct v4l2_pix_format sif_mode[] = { {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE, .bytesperline = 160, .sizeimage = 160 * 120, |