[PATCH 1/2] mailbox: Prototype mbox_client_peek_data()

From: Mark Brown
Date: Fri Jun 13 2014 - 16:41:51 EST


From: Mark Brown <broonie@xxxxxxxxxx>

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@xxxxxxxxxx>
---
include/linux/mailbox_client.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/mailbox_client.h b/include/linux/mailbox_client.h
index 53eb0784261b..cbfcf8478ca9 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 */
--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/