diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2015-05-04 20:36:35 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2015-05-12 06:48:16 +0300 |
commit | 05ae797566a66d159cf1e2ee11bf3f6fae40c8eb (patch) | |
tree | 409e6262f89399295e2e1e6d35345ac5fe8c170d /drivers/mailbox/omap-mailbox.c | |
parent | 59dd3f02615e52c42207a8e873f7f86bf7d447c4 (diff) | |
download | linux-05ae797566a66d159cf1e2ee11bf3f6fae40c8eb.tar.xz |
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/omap-mailbox.c')
-rw-r--r-- | drivers/mailbox/omap-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c index 0f332c178b07..03f8545ba037 100644 --- a/drivers/mailbox/omap-mailbox.c +++ b/drivers/mailbox/omap-mailbox.c @@ -604,7 +604,7 @@ static int omap_mbox_chan_send_data(struct mbox_chan *chan, void *data) return ret; } -static struct mbox_chan_ops omap_mbox_chan_ops = { +static const struct mbox_chan_ops omap_mbox_chan_ops = { .startup = omap_mbox_chan_startup, .send_data = omap_mbox_chan_send_data, .shutdown = omap_mbox_chan_shutdown, |