aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r--drivers/media/video/gspca/sonixb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index ffa714fde85c..b3e4e0677b68 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -227,7 +227,7 @@ static struct ctrl sd_ctrls[] = {
227 }, 227 },
228}; 228};
229 229
230static struct v4l2_pix_format vga_mode[] = { 230static const struct v4l2_pix_format vga_mode[] = {
231 {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE, 231 {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
232 .bytesperline = 160, 232 .bytesperline = 160,
233 .sizeimage = 160 * 120, 233 .sizeimage = 160 * 120,
@@ -249,7 +249,7 @@ static struct v4l2_pix_format vga_mode[] = {
249 .colorspace = V4L2_COLORSPACE_SRGB, 249 .colorspace = V4L2_COLORSPACE_SRGB,
250 .priv = 0}, 250 .priv = 0},
251}; 251};
252static struct v4l2_pix_format sif_mode[] = { 252static const struct v4l2_pix_format sif_mode[] = {
253 {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE, 253 {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
254 .bytesperline = 160, 254 .bytesperline = 160,
255 .sizeimage = 160 * 120, 255 .sizeimage = 160 * 120,