summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-09 17:12:27 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commit6333bec332e87668a8a5b6b2745c81d958570e97 (patch)
treeea9f8440d986fbcf7432dded3207bc7f2b06812d
parent432749b1a3f7be53cc8b3c6156b0c6cf6612634b (diff)
reset: bcm6345: 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-bcm6345.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c
index 6f140574216..161d00d1b0c 100644
--- a/drivers/reset/reset-bcm6345.c
+++ b/drivers/reset/reset-bcm6345.c
@@ -49,7 +49,7 @@ static int bcm6345_reset_request(struct reset_ctl *rst)
return bcm6345_reset_assert(rst);
}
-struct reset_ops bcm6345_reset_reset_ops = {
+static const struct reset_ops bcm6345_reset_reset_ops = {
.request = bcm6345_reset_request,
.rst_assert = bcm6345_reset_assert,
.rst_deassert = bcm6345_reset_deassert,