On Thu, 2014-06-12 at 22:31 +0530, Jassi Brar wrote: > 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 ... > +struct mbox_chan *mbox_request_channel(const struct mbox_client *cl) > +{ ... > + chan->cl = cl;
drivers/mailbox/mailbox.c: In function ‘mbox_request_channel’: drivers/mailbox/mailbox.c:361:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] chan->cl = cl; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/