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 <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 ce830106bf
commit 1e38a363c2
+1 -1
View File
@@ -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,