diff options
| author | Marek Vasut <[email protected]> | 2026-05-09 17:12:31 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-18 16:56:07 -0600 |
| commit | 35cd9d8636c25a7e9bc908db2fe8adcd87e6afc0 (patch) | |
| tree | 077e34acee14df5d67ab3e2d8017bbf5148af7ee | |
| parent | 4020549f9bbc00ba84af0dfc53ae9b859da67f4c (diff) | |
reset: npcm: 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-npcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-npcm.c b/drivers/reset/reset-npcm.c index a3b85a42250..66b541f09e6 100644 --- a/drivers/reset/reset-npcm.c +++ b/drivers/reset/reset-npcm.c @@ -126,7 +126,7 @@ static const struct udevice_id npcm_reset_ids[] = { { } }; -struct reset_ops npcm_reset_ops = { +static const struct reset_ops npcm_reset_ops = { .request = npcm_reset_request, .rfree = npcm_reset_free, .rst_assert = npcm_reset_assert, |
