mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
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>
This commit is contained in:
parent
59dd3f0261
commit
05ae797566
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue