]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/video/gspca/spca506.c
V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.
[karo-tx-linux.git] / drivers / media / video / gspca / spca506.c
index 645ee9d44d0267dbb908ddf2e9beea692b413d05..96e2512e0621df5e1cebfaafbb98e436676301d1 100644 (file)
@@ -110,7 +110,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,