This commit adds initial Rust bindings for the cpufreq core. This adds
basic bindings for cpufreq flags, relations and cpufreq table.
Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
rust/bindings/bindings_helper.h | 1 +
rust/helpers.c | 15 ++
rust/kernel/cpufreq.rs | 251 ++++++++++++++++++++++++++++++++
rust/kernel/lib.rs | 2 +
4 files changed, 269 insertions(+)
create mode 100644 rust/kernel/cpufreq.rs