aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-08-22 13:27:20 -0500
committerMark Brown <broonie@linaro.org>2014-08-22 13:27:20 -0500
commite20790cdd69e8c490bc4799c7d0e8f5112b0db89 (patch)
treed7f6237a1d089115a026e06cba671f2b11f29dc4
parentdb627fe0d7a4cc89176244747eb56542ccf95fd7 (diff)
downloadlinux-linaro-stable-v3.14/topic/old-mailbox-2.tar.gz
mailbox: Fix unneeded backportv3.14/topic/old-mailbox-2
v3.14 has reinit_completion() Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/mailbox/mailbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c
index 9a937ef..63ecc17 100644
--- a/drivers/mailbox/mailbox.c
+++ b/drivers/mailbox/mailbox.c
@@ -252,7 +252,7 @@ int mbox_send_message(struct mbox_chan *chan, void *mssg)
msg_submit(chan);
- INIT_COMPLETION(chan->tx_complete);
+ reinit_completion(&chan->tx_complete);
if (chan->txdone_method == TXDONE_BY_POLL)
poll_txdone((unsigned long)chan->mbox);