summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-09 17:12:25 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commitcecdc51a4665705e9689b6780d9e0ff9dbd13421 (patch)
tree353f4fac68e642e1bcb3ca57d0a94837cef3cf61
parentc2912fa76b663cc7621080f5dbdf134758c27de0 (diff)
reset: ast2600: 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/reset/reset-ast2600.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-ast2600.c b/drivers/reset/reset-ast2600.c
index ec7b9b6625d..9b77f6c2b71 100644
--- a/drivers/reset/reset-ast2600.c
+++ b/drivers/reset/reset-ast2600.c
@@ -90,7 +90,7 @@ static const struct udevice_id ast2600_reset_ids[] = {
{ }
};
-struct reset_ops ast2600_reset_ops = {
+static const struct reset_ops ast2600_reset_ops = {
.rst_assert = ast2600_reset_assert,
.rst_deassert = ast2600_reset_deassert,
.rst_status = ast2600_reset_status,