summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/pcc.c
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2015-05-04 19:36:35 +0200
committerJassi Brar <jaswinder.singh@linaro.org>2015-05-12 05:48:16 +0200
commit05ae797566a66d159cf1e2ee11bf3f6fae40c8eb (patch)
tree409e6262f89399295e2e1e6d35345ac5fe8c170d /drivers/mailbox/pcc.c
parentmailbox: altera: Add dependency on HAS_IOMEM (diff)
downloadlinux-05ae797566a66d159cf1e2ee11bf3f6fae40c8eb.tar.xz
linux-05ae797566a66d159cf1e2ee11bf3f6fae40c8eb.zip
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 <abrestic@chromium.org> Cc: Ashwin Chaugule <ashwin.chaugule@linaro.org> Cc: Ley Foon Tan <lftan@altera.com> Acked-by: Suman Anna <s-anna@ti.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/pcc.c')
-rw-r--r--drivers/mailbox/pcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index 7e91d68a3ac3..26d121d1d501 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -198,7 +198,7 @@ static int pcc_send_data(struct mbox_chan *chan, void *data)
return 0;
}
-static struct mbox_chan_ops pcc_chan_ops = {
+static const struct mbox_chan_ops pcc_chan_ops = {
.send_data = pcc_send_data,
};