Commit 9d84fd86 authored by Alice Ryhl's avatar Alice Ryhl Committed by Viresh Kumar
Browse files

rust: cpufreq: add __rust_helper to helpers



This is needed to inline these helpers into Rust code.

Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
Reviewed-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 8c8b12a5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@
#include <linux/cpufreq.h>

#ifdef CONFIG_CPU_FREQ
void rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
__rust_helper void
rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
{
	cpufreq_register_em_with_opp(policy);
}