reset: ast2500: 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 1f1ec618f2
commit c2912fa76b
+1 -1
View File
@@ -91,7 +91,7 @@ static const struct udevice_id ast2500_reset_ids[] = {
{ }
};
struct reset_ops ast2500_reset_ops = {
static const struct reset_ops ast2500_reset_ops = {
.rst_assert = ast2500_reset_assert,
.rst_deassert = ast2500_reset_deassert,
.rst_status = ast2500_reset_status,