mailbox: Prototype mbox_client_peek_data()
authorMark Brown <broonie@linaro.org>
Fri, 13 Jun 2014 20:36:34 +0000 (21:36 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 13 Jun 2014 20:50:25 +0000 (21:50 +0100)
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>
include/linux/mailbox_client.h

index 53eb0784261b537dd922e2d350bd100075c65ffe..cbfcf8478ca963bdbdae12f362eb9e4711eb5bdb 100644 (file)
@@ -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 */