Re: [PATCH] : Fix compilation errors in drivers/media/video/cx88/cx88-i2c.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[resending to  linux-media]

Thanks -
Manish

On Thu, Jan 15, 2009 at 10:15 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
> Below patch fixes the following build errors.
>
>  CC [M]  drivers/media/video/cx88/cx88-i2c.o
> drivers/media/video/cx88/cx88-i2c.c: In function 'cx88_call_i2c_clients':
> drivers/media/video/cx88/cx88-i2c.c:122: error: 'struct cx88_core' has
> no member named 'gate_ctrl'
> drivers/media/video/cx88/cx88-i2c.c:123: error: 'struct cx88_core' has
> no member named 'gate_ctrl'
> drivers/media/video/cx88/cx88-i2c.c:127: error: 'struct cx88_core' has
> no member named 'gate_ctrl'
> drivers/media/video/cx88/cx88-i2c.c:128: error: 'struct cx88_core' has
> no member named 'gate_ctrl'
> make[4]: *** [drivers/media/video/cx88/cx88-i2c.o] Error 1
> make[3]: *** [drivers/media/video/cx88] Error 2
>
>
>
> Signed-off-by: Manish Katiyar <mkatiyar@xxxxxxxxx>
> ---
>  drivers/media/video/cx88/cx88-i2c.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/cx88/cx88-i2c.c
> b/drivers/media/video/cx88/cx88-i2c.c
> index c0ff230..6d04b6a 100644
> --- a/drivers/media/video/cx88/cx88-i2c.c
> +++ b/drivers/media/video/cx88/cx88-i2c.c
> @@ -119,13 +119,17 @@ void cx88_call_i2c_clients(struct cx88_core
> *core, unsigned int cmd, void *arg)
>        if (0 != core->i2c_rc)
>                return;
>
> +#if defined(CONFIG_VIDEO_CX88_DVB) || defined(CONFIG_VIDEO_CX88_DVB_MODULE)
>        if (core->gate_ctrl)
>                core->gate_ctrl(core, 1);
> +#endif
>
> -       i2c_clients_command(&core->i2c_adap, cmd, arg);
>
> +       i2c_clients_command(&core->i2c_adap, cmd, arg);
> +#if defined(CONFIG_VIDEO_CX88_DVB) || defined(CONFIG_VIDEO_CX88_DVB_MODULE)
>        if (core->gate_ctrl)
>                core->gate_ctrl(core, 0);
> +#endif
>  }
>
>  static const struct i2c_algo_bit_data cx8800_i2c_algo_template = {
> --
> 1.5.4.3
>
>
> Thanks -
> Manish
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux