clk: ast2600: 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:58 +02:00
committed by Tom Rini
parent a8f49cc193
commit f23324e49e

View File

@@ -1161,7 +1161,7 @@ static void ast2600_clk_dump(struct udevice *dev)
}
#endif
struct clk_ops ast2600_clk_ops = {
static const struct clk_ops ast2600_clk_ops = {
.get_rate = ast2600_clk_get_rate,
.set_rate = ast2600_clk_set_rate,
.enable = ast2600_clk_enable,