aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mailbox_client.h
AgeCommit message (Collapse)Author
2014-06-18mailbox: Remove const from client argument of mbox_request_channel()Mark Brown
The struct mbox_client supplied to mbox_request_channel() is const but it is stored in the channel in a non-constant member causing compiler warnings. While the mailbox API should treat the struct mailbox_client as const itself the struct is passed back to the channel in callbacks without a const so we need to either remove the const, change the callbacks to take const or cast the const away when doing callbacks. Take the simplest option and just remove the const. Signed-off-by: Mark Brown <broonie@linaro.org>
2014-06-18mailbox: Prototype mbox_client_peek_data()Mark Brown
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>
2014-06-18mailbox: Introduce framework for mailboxJassi Brar
Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed to client drivers. Similarly controller driver developers should have a look at include/linux/mailbox_controller.h Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>