mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +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>
10 lines
215 B
C
10 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
|