aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-06-18 04:03:16 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 02:13:22 -0400
commite080fcd9298d544f3233d8c45304990be1920b3d (patch)
tree869b909cfe2600ed4e86deda773c07258bc8e908 /drivers/media
parent0220f8870e66628f19c36bad813e881ebfaae7a6 (diff)
V4L/DVB (12085): gspca_ov519: constify ov518 inititial register value tables
gspca_ov519: constify ov518 inititial register value tables Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/ov519.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index cb5f3c786db4..2f6e135d94bc 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -1863,7 +1863,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
1863 int rc; 1863 int rc;
1864 1864
1865 /* For 518 and 518+ */ 1865 /* For 518 and 518+ */
1866 static struct ov_regvals init_518[] = { 1866 const struct ov_regvals init_518[] = {
1867 { R51x_SYS_RESET, 0x40 }, 1867 { R51x_SYS_RESET, 0x40 },
1868 { R51x_SYS_INIT, 0xe1 }, 1868 { R51x_SYS_INIT, 0xe1 },
1869 { R51x_SYS_RESET, 0x3e }, 1869 { R51x_SYS_RESET, 0x3e },
@@ -1874,7 +1874,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
1874 { 0x5d, 0x03 }, 1874 { 0x5d, 0x03 },
1875 }; 1875 };
1876 1876
1877 static struct ov_regvals norm_518[] = { 1877 const struct ov_regvals norm_518[] = {
1878 { R51x_SYS_SNAP, 0x02 }, /* Reset */ 1878 { R51x_SYS_SNAP, 0x02 }, /* Reset */
1879 { R51x_SYS_SNAP, 0x01 }, /* Enable */ 1879 { R51x_SYS_SNAP, 0x01 }, /* Enable */
1880 { 0x31, 0x0f }, 1880 { 0x31, 0x0f },
@@ -1887,7 +1887,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
1887 { 0x2f, 0x80 }, 1887 { 0x2f, 0x80 },
1888 }; 1888 };
1889 1889
1890 static struct ov_regvals norm_518_p[] = { 1890 const struct ov_regvals norm_518_p[] = {
1891 { R51x_SYS_SNAP, 0x02 }, /* Reset */ 1891 { R51x_SYS_SNAP, 0x02 }, /* Reset */
1892 { R51x_SYS_SNAP, 0x01 }, /* Enable */ 1892 { R51x_SYS_SNAP, 0x01 }, /* Enable */
1893 { 0x31, 0x0f }, 1893 { 0x31, 0x0f },