diff options
| author | Marek Vasut <[email protected]> | 2026-05-09 17:12:34 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-18 16:56:07 -0600 |
| commit | 1e38a363c2ae5db7f4a64fb10051ff2321891e3e (patch) | |
| tree | 1f391ed9a3be67d106739e87ec106abfa4d8b0e4 /drivers | |
| parent | ce830106bf3b2d830e971ff622663a9c7516380b (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.c | 2 |
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, |
