mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-26 21:52:20 +00:00

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>
11 lines
215 B
C
11 lines
215 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <linux/cpufreq.h>
|
|
|
|
#ifdef CONFIG_CPU_FREQ
|
|
void rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
|
|
{
|
|
cpufreq_register_em_with_opp(policy);
|
|
}
|
|
#endif
|