summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-09 17:12:34 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commit1e38a363c2ae5db7f4a64fb10051ff2321891e3e (patch)
tree1f391ed9a3be67d106739e87ec106abfa4d8b0e4 /drivers
parentce830106bf3b2d830e971ff622663a9c7516380b (diff)
reset: sandbox: 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]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/reset/sandbox-reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/sandbox-reset.c b/drivers/reset/sandbox-reset.c
index adf9eedcba6..1c0ea7390df 100644
--- a/drivers/reset/sandbox-reset.c
+++ b/drivers/reset/sandbox-reset.c
@@ -85,7 +85,7 @@ static const struct udevice_id sandbox_reset_ids[] = {
{ }
};
-struct reset_ops sandbox_reset_reset_ops = {
+static const struct reset_ops sandbox_reset_reset_ops = {
.request = sandbox_reset_request,
.rfree = sandbox_reset_free,
.rst_assert = sandbox_reset_assert,