Skip to content

Commit

Permalink
V4L/DVB: tvp514x: make std_list const
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jun 1, 2010
1 parent 2db4e78 commit a75ffc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/tvp514x.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ struct tvp514x_decoder {

enum tvp514x_std current_std;
int num_stds;
struct tvp514x_std_info *std_list;
const struct tvp514x_std_info *std_list;
/* Input and Output Routing parameters */
u32 input;
u32 output;
Expand Down Expand Up @@ -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
* 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 */
[STD_NTSC_MJ] = {
.width = NTSC_NUM_ACTIVE_PIXELS,
Expand Down

0 comments on commit a75ffc1

Please sign in to comment.