mailbox: apple: Staticize and constify driver ops

Set the ops structure as static const. The structure is not accessible
from outside of this driver and is not going to be modified at runtime.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Acked-by: Mark Kettenis <kettenis@openbsd.org>
This commit is contained in:
Marek Vasut
2026-05-18 16:56:07 -06:00
committed by Tom Rini
parent 31df5fc7d4
commit 499cb93dec
+1 -1
View File
@@ -59,7 +59,7 @@ static int apple_mbox_recv(struct mbox_chan *chan, void *data)
return 0;
}
struct mbox_ops apple_mbox_ops = {
static const struct mbox_ops apple_mbox_ops = {
.of_xlate = apple_mbox_of_xlate,
.send = apple_mbox_send,
.recv = apple_mbox_recv,