Re: [PATCH] rust: make `clk::Hertz` methods const
From: Viresh Kumar
Date: Thu Jun 19 2025 - 06:35:14 EST
On Wed, Jun 18, 2025 at 2:46 PM Onur Özkan <work@xxxxxxxxxxxxx> wrote:
>
> Marks `Hertz` methods as `const` to make them available
> for `const` contexts. This can be useful when defining
> static/compile-time frequency parameters in drivers/subsystems.
>
> Signed-off-by: Onur Özkan <work@xxxxxxxxxxxxx>
> ---
> rust/kernel/clk.rs | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>