clk: zynqmp: Mark zynqmp_clk_ops as const

Operations are not changing that's why mark them as const which ensure that
structure will be moved from .data section to .rodata section.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/92eb9e90189d8b96246966633478662076da7185.1753444878.git.michal.simek@amd.com
This commit is contained in:
Michal Simek
2025-08-26 07:30:09 +02:00
parent 3a85a27e34
commit 6d491e8913
+1 -1
View File
@@ -882,7 +882,7 @@ static int zynqmp_clk_enable(struct clk *clk)
return ret;
}
static struct clk_ops zynqmp_clk_ops = {
static const struct clk_ops zynqmp_clk_ops = {
.set_rate = zynqmp_clk_set_rate,
.get_rate = zynqmp_clk_get_rate,
.enable = zynqmp_clk_enable,