public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] i2c: exynos5: Use reinit_completion instead of INIT_COMPLETION
@ 2013-11-05  9:27 Sachin Kamat
       [not found] ` <1383643630-5036-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Sachin Kamat @ 2013-11-05  9:27 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: wsa-z923LK4zBo2bacvFa/9K2g, sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
	Naveen Krishna Chatradhi

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-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Naveen Krishna Chatradhi <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-05 11:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05  9:27 [PATCH 1/1] i2c: exynos5: Use reinit_completion instead of INIT_COMPLETION Sachin Kamat
     [not found] ` <1383643630-5036-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-11-05  9:38   ` Naveen Krishna Ch
2013-11-05 10:10   ` Wolfram Sang
2013-11-05 10:21     ` Sachin Kamat
     [not found]       ` <CAK9yfHwv3T6OXO59b+VeFHLU6mxn1Gw+BotOBLUukHuArZ0qig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-05 10:56         ` Wolfram Sang
2013-11-05 11:09           ` Sachin Kamat
     [not found]             ` <CAK9yfHyf94oTyJRRYtAiaty=AYiPXf+RQTnqdW4-q=zbvwsdtA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-05 11:24               ` Wolfram Sang
2013-11-05 11:27                 ` Sachin Kamat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox