mailbox: k3-sec-proxy: 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>
This commit is contained in:
Marek Vasut
2026-05-18 16:56:07 -06:00
committed by Tom Rini
parent 44f6ca49e9
commit b2961202a7
+1 -1
View File
@@ -293,7 +293,7 @@ static int k3_sec_proxy_recv(struct mbox_chan *chan, void *data)
return 0;
}
struct mbox_ops k3_sec_proxy_mbox_ops = {
static const struct mbox_ops k3_sec_proxy_mbox_ops = {
.of_xlate = k3_sec_proxy_of_xlate,
.request = k3_sec_proxy_request,
.rfree = k3_sec_proxy_free,