Re: [PATCH 1/1] i2c: exynos5: Use reinit_completion instead of INIT_COMPLETION

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

 



On 5 November 2013 14:57, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> INIT_COMPLETION was replaced by reinit_completion vide commit 2c9627cca471
> ("tree-wide: use reinit_completion instead of INIT_COMPLETION"). Use it to
> avoid the following build error:
> drivers/i2c/busses/i2c-exynos5.c:538:9: error:
> undefined identifier 'INIT_COMPLETION'
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
Thanks for figuring this out pretty soon.

> Cc: Naveen Krishna Chatradhi <ch.naveen@xxxxxxxxxxx>
Acked-by: Naveen Krishna Chatradhi <ch.naveen@xxxxxxxxxxx>


> ---
>  drivers/i2c/busses/i2c-exynos5.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
> index aca3991b7636..d4193000643d 100644
> --- a/drivers/i2c/busses/i2c-exynos5.c
> +++ b/drivers/i2c/busses/i2c-exynos5.c
> @@ -535,7 +535,7 @@ static int exynos5_i2c_xfer_msg(struct exynos5_i2c *i2c,
>         i2c->msg_ptr = 0;
>         i2c->trans_done = 0;
>
> -       INIT_COMPLETION(i2c->msg_complete);
> +       reinit_completion(&i2c->msg_complete);
>
>         exynos5_i2c_message_start(i2c, stop);
>
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Shine bright,
(: Nav :)
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux