diff options
author | Thierry Bultel <thierry.bultel.yh@bp.renesas.com> | 2025-05-15 16:18:19 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-06-10 10:20:45 +0200 |
commit | 3d37ca1482c36975255f29911a529f84f1bc34a9 (patch) | |
tree | cde68cc2916a398e9432259ca53167968f155989 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a68ea80f85bbf7b69f69ef9e17e3e1be14d948c8 (diff) |
clk: renesas: Pass sub struct of cpg_mssr_priv to cpg_clk_register
In a subsequent patch, the registration callback will need more parameters
from cpg_mssr_priv (like another base address with clock controllers
with double register block, and also, notifiers and rmw_lock).
Instead of adding more parameters, move the needed parameters to a public
sub-struct.
Instead moving clks to this structure, which would have implied to add
an allocation (and cleanup) for it, keep the way the allocation is done
and just have a copy of the pointer in the public structure.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
Link: https://lore.kernel.org/20250515141828.43444-5-thierry.bultel.yh@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions