diff options
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/hi6220-mailbox.c | 2 | ||||
-rw-r--r-- | drivers/mailbox/mailbox-xgene-slimpro.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mailbox/hi6220-mailbox.c b/drivers/mailbox/hi6220-mailbox.c index 613722db5daf..519376d3534c 100644 --- a/drivers/mailbox/hi6220-mailbox.c +++ b/drivers/mailbox/hi6220-mailbox.c | |||
@@ -221,7 +221,7 @@ static void hi6220_mbox_shutdown(struct mbox_chan *chan) | |||
221 | mbox->irq_map_chan[mchan->ack_irq] = NULL; | 221 | mbox->irq_map_chan[mchan->ack_irq] = NULL; |
222 | } | 222 | } |
223 | 223 | ||
224 | static struct mbox_chan_ops hi6220_mbox_ops = { | 224 | static const struct mbox_chan_ops hi6220_mbox_ops = { |
225 | .send_data = hi6220_mbox_send_data, | 225 | .send_data = hi6220_mbox_send_data, |
226 | .startup = hi6220_mbox_startup, | 226 | .startup = hi6220_mbox_startup, |
227 | .shutdown = hi6220_mbox_shutdown, | 227 | .shutdown = hi6220_mbox_shutdown, |
diff --git a/drivers/mailbox/mailbox-xgene-slimpro.c b/drivers/mailbox/mailbox-xgene-slimpro.c index dd2afbca51c9..a7040163dd43 100644 --- a/drivers/mailbox/mailbox-xgene-slimpro.c +++ b/drivers/mailbox/mailbox-xgene-slimpro.c | |||
@@ -174,7 +174,7 @@ static void slimpro_mbox_shutdown(struct mbox_chan *chan) | |||
174 | devm_free_irq(mb_chan->dev, mb_chan->irq, mb_chan); | 174 | devm_free_irq(mb_chan->dev, mb_chan->irq, mb_chan); |
175 | } | 175 | } |
176 | 176 | ||
177 | static struct mbox_chan_ops slimpro_mbox_ops = { | 177 | static const struct mbox_chan_ops slimpro_mbox_ops = { |
178 | .send_data = slimpro_mbox_send_data, | 178 | .send_data = slimpro_mbox_send_data, |
179 | .startup = slimpro_mbox_startup, | 179 | .startup = slimpro_mbox_startup, |
180 | .shutdown = slimpro_mbox_shutdown, | 180 | .shutdown = slimpro_mbox_shutdown, |