Commit Graph
2 Commits
Author SHA1 Message Date
Andrew Bresticker 05ae797566 mailbox: Make mbox_chan_ops const
The mailbox controller's channel ops ought to be read-only.  Update
all the mailbox drivers to make their mbox_chan_ops const as well.

Signed-off-by: Andrew Bresticker <[email protected]>
Cc: Ashwin Chaugule <[email protected]>
Cc: Ley Foon Tan <[email protected]>
Acked-by: Suman Anna <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
2015-05-12 09:18:16 +05:30
Jassi Brar 2b6d83e2b8 mailbox: Introduce framework for mailbox
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

Reviewed-by: Mark Brown <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
2014-10-08 10:39:41 +05:30