diff options
author | Abhinav Ananthu <abhinav.ogl@gmail.com> | 2025-06-20 14:22:30 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-06-23 09:45:45 +0530 |
commit | b0a86fb0b27f1ae944a6b0a1a9187c332bb2773e (patch) | |
tree | 528af4cff64bfcb4666f66c35a012ca1ec6c7707 /scripts/lib/kdoc/kdoc_output.py | |
parent | 10bb7f09e346f152d2627e0b3619c402d64a50e9 (diff) |
rust: cpufreq: use c_ types from kernel prelude
Update cpufreq FFI callback signatures to use `c_int` from the `kernel::prelude`,
rather than accessing it explicitly through `kernel::ffi::c_int`.
Although these types are defined in the `ffi` crate, they are re-exported
via `kernel::prelude`. This aligns with the Rust-for-Linux coding
guidelines and ensures proper C ABI compatibility across platforms.
Signed-off-by: Abhinav Ananthu <abhinav.ogl@gmail.com>
Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
[ Viresh: Fixed rustfmtcheck errors ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions