mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 00:44:31 +01:00
This is needed to inline these helpers into Rust code. Signed-off-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
11 lines
229 B
C
11 lines
229 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <linux/cpufreq.h>
|
|
|
|
#ifdef CONFIG_CPU_FREQ
|
|
__rust_helper void
|
|
rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
|
|
{
|
|
cpufreq_register_em_with_opp(policy);
|
|
}
|
|
#endif
|