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 <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut
2026-05-09 17:12:27 +02:00
committed by Tom Rini
parent 432749b1a3
commit 6333bec332

View File

@@ -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,