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/spca561.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/spca561.c')
-rw-r--r-- | linux/drivers/media/video/gspca/spca561.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/spca561.c b/linux/drivers/media/video/gspca/spca561.c index f518bb02f..499511fa0 100644 --- a/linux/drivers/media/video/gspca/spca561.c +++ b/linux/drivers/media/video/gspca/spca561.c @@ -73,7 +73,7 @@ struct sd { #define AG_CNT_START 13 }; -static struct v4l2_pix_format sif_012a_mode[] = { +static const struct v4l2_pix_format sif_012a_mode[] = { {160, 120, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, .bytesperline = 160, .sizeimage = 160 * 120, @@ -96,7 +96,7 @@ static struct v4l2_pix_format sif_012a_mode[] = { .priv = 0}, }; -static struct v4l2_pix_format sif_072a_mode[] = { +static const struct v4l2_pix_format sif_072a_mode[] = { {160, 120, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, .bytesperline = 160, .sizeimage = 160 * 120, |