summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-09 17:12:30 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commit4020549f9bbc00ba84af0dfc53ae9b859da67f4c (patch)
tree59470566437455e0b26b68b50135a5ca918bc492 /drivers
parent85be3b92879a2b3e2707eff9eea05977a6bb4f05 (diff)
reset: meson: 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-meson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
index 6337cdaaffa..8c27563ce23 100644
--- a/drivers/reset/reset-meson.c
+++ b/drivers/reset/reset-meson.c
@@ -66,7 +66,7 @@ static int meson_reset_deassert(struct reset_ctl *reset_ctl)
return meson_reset_level(reset_ctl, false);
}
-struct reset_ops meson_reset_ops = {
+static const struct reset_ops meson_reset_ops = {
.request = meson_reset_request,
.rst_assert = meson_reset_assert,
.rst_deassert = meson_reset_deassert,