clk: 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 <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut
2026-05-07 18:42:57 +02:00
committed by Tom Rini
parent 64abe3cfcc
commit a8f49cc193

View File

@@ -534,7 +534,7 @@ static int ast2500_clk_enable(struct clk *clk)
return 0;
}
struct clk_ops ast2500_clk_ops = {
static const struct clk_ops ast2500_clk_ops = {
.get_rate = ast2500_clk_get_rate,
.set_rate = ast2500_clk_set_rate,
.enable = ast2500_clk_enable,