diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2025-01-07 12:51:08 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-05-20 11:21:10 +0530 |
commit | 2207856ff0bc8d953d6e89bda70b8978c2de8bab (patch) | |
tree | 353d3d345dad563f19d2cae0d6f6d2f40dff7f8b /rust/kernel/lib.rs | |
parent | ce32e2d47ce6c472a931eabe53f841c62b6abfe5 (diff) |
rust: cpufreq: Add initial abstractions for cpufreq framework
Introduce initial Rust abstractions for the cpufreq core. This includes
basic representations for cpufreq flags, relation types, and the cpufreq
table.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'rust/kernel/lib.rs')
-rw-r--r-- | rust/kernel/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs index ea589254b4ac..133ebee4f9d3 100644 --- a/rust/kernel/lib.rs +++ b/rust/kernel/lib.rs @@ -44,6 +44,8 @@ pub mod block; pub mod build_assert; pub mod clk; pub mod cpu; +#[cfg(CONFIG_CPU_FREQ)] +pub mod cpufreq; pub mod cpumask; pub mod cred; pub mod device; |