diff options
| author | Marek Vasut <[email protected]> | 2026-05-09 17:12:24 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-18 16:56:07 -0600 |
| commit | c2912fa76b663cc7621080f5dbdf134758c27de0 (patch) | |
| tree | f475d0079873a68ff5dd4edd2a0ed552b19cc829 /drivers | |
| parent | 1f1ec618f2a9129714fdb30d8120d7b3808947a2 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/reset/reset-ast2500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-ast2500.c b/drivers/reset/reset-ast2500.c index f3543fa8cc1..39b3d025713 100644 --- a/drivers/reset/reset-ast2500.c +++ b/drivers/reset/reset-ast2500.c @@ -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, |
