diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 13:49:41 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 14:40:07 +0300 |
commit | cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d (patch) | |
tree | 1d05177ca24588bbeba596f44704af4bf109b16b /drivers/media/video/gspca/spca505.c | |
parent | 4c98834addfee3fdd42c505c37569261bf669d94 (diff) | |
download | linux-cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d.tar.xz |
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/spca505.c')
-rw-r--r-- | drivers/media/video/gspca/spca505.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca505.c b/drivers/media/video/gspca/spca505.c index 895b9fe4018c..2a33a29010ee 100644 --- a/drivers/media/video/gspca/spca505.c +++ b/drivers/media/video/gspca/spca505.c @@ -59,7 +59,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_SPCA505, V4L2_FIELD_NONE, .bytesperline = 160, .sizeimage = 160 * 120 * 3 / 2, |