summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-08 00:06:30 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commitb2961202a7a7bad23a470f7df3de2005786edccc (patch)
tree1fbc42dc48c2e99c4e43cf6ae414966016e3f911
parent44f6ca49e9d3c1c7bc77139fbb3968afd587f891 (diff)
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 <[email protected]>
-rw-r--r--drivers/mailbox/k3-sec-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/k3-sec-proxy.c b/drivers/mailbox/k3-sec-proxy.c
index 6f5ad37919f..6eebfcd3601 100644
--- a/drivers/mailbox/k3-sec-proxy.c
+++ b/drivers/mailbox/k3-sec-proxy.c
@@ -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,