diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 05:49:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:40:07 -0500 |
commit | cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d (patch) | |
tree | 1d05177ca24588bbeba596f44704af4bf109b16b /drivers/media/video/gspca/finepix.c | |
parent | 4c98834addfee3fdd42c505c37569261bf669d94 (diff) |
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/finepix.c')
-rw-r--r-- | drivers/media/video/gspca/finepix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/finepix.c b/drivers/media/video/gspca/finepix.c index 03cb94466323..afc8b2dd307b 100644 --- a/drivers/media/video/gspca/finepix.c +++ b/drivers/media/video/gspca/finepix.c | |||
@@ -72,7 +72,7 @@ struct usb_fpix { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | /* These cameras only support 320x200. */ | 74 | /* These cameras only support 320x200. */ |
75 | static struct v4l2_pix_format fpix_mode[1] = { | 75 | static const struct v4l2_pix_format fpix_mode[1] = { |
76 | { 320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, | 76 | { 320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, |
77 | .bytesperline = 320, | 77 | .bytesperline = 320, |
78 | .sizeimage = 320 * 240 * 3 / 8 + 590, | 78 | .sizeimage = 320 * 240 * 3 / 8 + 590, |