diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2025-12-02 19:37:35 +0000 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-01-27 11:21:22 +0530 |
| commit | 9d84fd86d9ce26be72f1cf6839a9335005734d4f (patch) | |
| tree | 6bacac265c00b31e66a1c620670954c6399f0b12 /rust | |
| parent | 8c8b12a55614ea05953e8d695e700e6e1322a05d (diff) | |
rust: cpufreq: add __rust_helper to helpers
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>
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/helpers/cpufreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/helpers/cpufreq.c b/rust/helpers/cpufreq.c index 7c1343c4d65e..0e16aeef2b5a 100644 --- a/rust/helpers/cpufreq.c +++ b/rust/helpers/cpufreq.c @@ -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); } |
