aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-06-13 21:36:34 +0100
committerShow Liu <show.liu@linaro.org>2014-06-18 12:05:37 +0800
commit1290af03c511ec080c6d5f1211a15acd3de49f98 (patch)
treeb372a660d3015f266f031d3b41a7cdec11978776
parent5f0cf975e26e4afff060ba1e2befa8570a32077e (diff)
downloadlinaro-lsk-1290af03c511ec080c6d5f1211a15acd3de49f98.tar.gz
mailbox: Prototype mbox_client_peek_data()
This is an interface intended for client drivers and exported but it is not prototyped in the headers so can't be used. Add a prototype. Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--include/linux/mailbox_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mailbox_client.h b/include/linux/mailbox_client.h
index 53eb0784261..cbfcf8478ca 100644
--- a/include/linux/mailbox_client.h
+++ b/include/linux/mailbox_client.h
@@ -40,6 +40,7 @@ struct mbox_client {
struct mbox_chan *mbox_request_channel(const struct mbox_client *cl);
int mbox_send_message(struct mbox_chan *chan, void *mssg);
void mbox_client_txdone(struct mbox_chan *chan, int r);
+bool mbox_client_peek_data(struct mbox_chan *chan);
void mbox_free_channel(struct mbox_chan *chan);
#endif /* __MAILBOX_CLIENT_H */