Commit e080fcd9 authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

V4L/DVB (12085): gspca_ov519: constify ov518 inititial register value tables

gspca_ov519: constify ov518 inititial register value tables
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0220f887
...@@ -1863,7 +1863,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev) ...@@ -1863,7 +1863,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
int rc; int rc;
/* For 518 and 518+ */ /* For 518 and 518+ */
static struct ov_regvals init_518[] = { const struct ov_regvals init_518[] = {
{ R51x_SYS_RESET, 0x40 }, { R51x_SYS_RESET, 0x40 },
{ R51x_SYS_INIT, 0xe1 }, { R51x_SYS_INIT, 0xe1 },
{ R51x_SYS_RESET, 0x3e }, { R51x_SYS_RESET, 0x3e },
...@@ -1874,7 +1874,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev) ...@@ -1874,7 +1874,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
{ 0x5d, 0x03 }, { 0x5d, 0x03 },
}; };
static struct ov_regvals norm_518[] = { const struct ov_regvals norm_518[] = {
{ R51x_SYS_SNAP, 0x02 }, /* Reset */ { R51x_SYS_SNAP, 0x02 }, /* Reset */
{ R51x_SYS_SNAP, 0x01 }, /* Enable */ { R51x_SYS_SNAP, 0x01 }, /* Enable */
{ 0x31, 0x0f }, { 0x31, 0x0f },
...@@ -1887,7 +1887,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev) ...@@ -1887,7 +1887,7 @@ static int ov518_configure(struct gspca_dev *gspca_dev)
{ 0x2f, 0x80 }, { 0x2f, 0x80 },
}; };
static struct ov_regvals norm_518_p[] = { const struct ov_regvals norm_518_p[] = {
{ R51x_SYS_SNAP, 0x02 }, /* Reset */ { R51x_SYS_SNAP, 0x02 }, /* Reset */
{ R51x_SYS_SNAP, 0x01 }, /* Enable */ { R51x_SYS_SNAP, 0x01 }, /* Enable */
{ 0x31, 0x0f }, { 0x31, 0x0f },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment