aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-05-09 05:32:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-06-01 00:21:42 -0400
commita75ffc124611a535aec8f403817d382d106c68d7 (patch)
tree3b15291b31d8dd89c8198e73a5d50bc7044cbe4d
parent2db4e78f14a5b4741b09d03e6d17610537a9af27 (diff)
V4L/DVB: tvp514x: make std_list const
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>
-rw-r--r--drivers/media/video/tvp514x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c
index 40d84d73edf8..b802da713114 100644
--- a/drivers/media/video/tvp514x.c
+++ b/drivers/media/video/tvp514x.c
@@ -111,7 +111,7 @@ struct tvp514x_decoder {
111 111
112 enum tvp514x_std current_std; 112 enum tvp514x_std current_std;
113 int num_stds; 113 int num_stds;
114 struct tvp514x_std_info *std_list; 114 const struct tvp514x_std_info *std_list;
115 /* Input and Output Routing parameters */ 115 /* Input and Output Routing parameters */
116 u32 input; 116 u32 input;
117 u32 output; 117 u32 output;
@@ -223,7 +223,7 @@ static const struct v4l2_fmtdesc tvp514x_fmt_list[] = {
223 * Currently supports two standards only, need to add support for rest of the 223 * Currently supports two standards only, need to add support for rest of the
224 * modes, like SECAM, etc... 224 * modes, like SECAM, etc...
225 */ 225 */
226static struct tvp514x_std_info tvp514x_std_list[] = { 226static const struct tvp514x_std_info tvp514x_std_list[] = {
227 /* Standard: STD_NTSC_MJ */ 227 /* Standard: STD_NTSC_MJ */
228 [STD_NTSC_MJ] = { 228 [STD_NTSC_MJ] = {
229 .width = NTSC_NUM_ACTIVE_PIXELS, 229 .width = NTSC_NUM_ACTIVE_PIXELS,