mailbox: Make mbox_chan_ops const
[firefly-linux-kernel-4.4.55.git] / drivers / mailbox / mailbox-altera.c
index a266265677d3ebf533290a01a1a0af6212f2e292..bb682c926b0a048ab1918ba13a89c140dff19d96 100644 (file)
@@ -285,7 +285,7 @@ static void altera_mbox_shutdown(struct mbox_chan *chan)
        }
 }
 
-static struct mbox_chan_ops altera_mbox_ops = {
+static const struct mbox_chan_ops altera_mbox_ops = {
        .send_data = altera_mbox_send_data,
        .startup = altera_mbox_startup,
        .shutdown = altera_mbox_shutdown,