> -----Original Message-----
> From: Hans Verkuil [mailto:[email protected]]
> Sent: Sunday, May 09, 2010 7:27 PM
> To: [email protected]
> Cc: Hiremath, Vaibhav
> Subject: [PATCH 2/6] [RFC] tvp514x: make std_list const
> 
> Signed-off-by: Hans Verkuil <[email protected]>
> ---
>  drivers/media/video/tvp514x.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c
> index 1ca1247..9d8d5c8 100644
> --- a/drivers/media/video/tvp514x.c
> +++ b/drivers/media/video/tvp514x.c
> @@ -110,7 +110,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;
> @@ -222,7 +222,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,
[Hiremath, Vaibhav] 

Reviewed-by: Vaibhav Hiremath <[email protected]>
Tested-by: Vaibhav Hiremath <[email protected]>
Acked-by: Vaibhav Hiremath <[email protected]>



Thanks,
Vaibhav

> --
> 1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to