Commit a75ffc12 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB: tvp514x: make std_list const

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Tested-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Acked-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2db4e78f
...@@ -111,7 +111,7 @@ struct tvp514x_decoder { ...@@ -111,7 +111,7 @@ struct tvp514x_decoder {
enum tvp514x_std current_std; enum tvp514x_std current_std;
int num_stds; int num_stds;
struct tvp514x_std_info *std_list; const struct tvp514x_std_info *std_list;
/* Input and Output Routing parameters */ /* Input and Output Routing parameters */
u32 input; u32 input;
u32 output; u32 output;
...@@ -223,7 +223,7 @@ static const struct v4l2_fmtdesc tvp514x_fmt_list[] = { ...@@ -223,7 +223,7 @@ static const struct v4l2_fmtdesc tvp514x_fmt_list[] = {
* Currently supports two standards only, need to add support for rest of the * Currently supports two standards only, need to add support for rest of the
* modes, like SECAM, etc... * modes, like SECAM, etc...
*/ */
static struct tvp514x_std_info tvp514x_std_list[] = { static const struct tvp514x_std_info tvp514x_std_list[] = {
/* Standard: STD_NTSC_MJ */ /* Standard: STD_NTSC_MJ */
[STD_NTSC_MJ] = { [STD_NTSC_MJ] = {
.width = NTSC_NUM_ACTIVE_PIXELS, .width = NTSC_NUM_ACTIVE_PIXELS,
......
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