Message ID | 1416874644-12070-3-git-send-email-abrestic@chromium.org |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/include/linux/mailbox_controller.h b/include/linux/mailbox_controller.h index d4cf96f..68c4245 100644 --- a/include/linux/mailbox_controller.h +++ b/include/linux/mailbox_controller.h @@ -72,7 +72,7 @@ struct mbox_chan_ops { */ struct mbox_controller { struct device *dev; - struct mbox_chan_ops *ops; + const struct mbox_chan_ops *ops; struct mbox_chan *chans; int num_chans; bool txdone_irq;
The mailbox controller's channel ops ought to be read-only. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> --- No changes from v5. New for v5. --- include/linux/mailbox_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)