[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOh2x=n6oh1YDjGqiV8CgqvNb1MjOW=A5cc7=nnxwJL8m=eJcg@mail.gmail.com>
Date: Thu, 19 Jun 2025 16:04:36 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Onur Özkan <work@...rozkan.dev>
Cc: rust-for-linux@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, mturquette@...libre.com, sboyd@...nel.org,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, lossin@...nel.org,
a.hindborg@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu,
dakr@...nel.org
Subject: Re: [PATCH] rust: make `clk::Hertz` methods const
On Wed, Jun 18, 2025 at 2:46 PM Onur Özkan <work@...rozkan.dev> 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@...rozkan.dev>
> ---
> rust/kernel/clk.rs | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
Powered by blists - more mailing lists