mailbox: Remove const from client argument of mbox_request_channel()
[firefly-linux-kernel-4.4.55.git] / drivers / mailbox / mailbox.c
index e1fc6aaeb87c1045db18e499b4457fe4cefbb92a..607dd91e87a16b9a851ce103ece8a30a30c3b2ba 100644 (file)
@@ -294,7 +294,7 @@ EXPORT_SYMBOL_GPL(mbox_send_message);
  * Return: Pointer to the channel assigned to the client if successful.
  *             ERR_PTR for request failure.
  */
-struct mbox_chan *mbox_request_channel(const struct mbox_client *cl)
+struct mbox_chan *mbox_request_channel(struct mbox_client *cl)
 {
        struct device *dev = cl->dev;
        struct mbox_controller *mbox;