diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2015-05-04 19:36:35 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2015-05-12 05:48:16 +0200 |
commit | 05ae797566a66d159cf1e2ee11bf3f6fae40c8eb (patch) | |
tree | 409e6262f89399295e2e1e6d35345ac5fe8c170d /drivers/mailbox/pcc.c | |
parent | mailbox: altera: Add dependency on HAS_IOMEM (diff) | |
download | linux-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.c | 2 |
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, }; |