aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2025-02-20 11:04:00 +0000
committerViresh Kumar <[email protected]>2025-05-19 07:25:40 +0000
commitb7b7b981cb037d250ad06c3a6558d69e04ed77c7 (patch)
treececba4407b799c1ded4de0c7a302e884af77ef55 /rust/helpers/helpers.c
parentMAINTAINERS: Add entry for Rust cpumask API (diff)
downloadkernel-b7b7b981cb037d250ad06c3a6558d69e04ed77c7.tar.gz
kernel-b7b7b981cb037d250ad06c3a6558d69e04ed77c7.zip
rust: clk: Add helpers for Rust code
Non-trivial C macros and inlined C functions cannot be used directly in the Rust code and are used via functions ("helpers") that wrap those so that they can be called from Rust. In order to prepare for adding Rust abstractions for the clock APIs, add clock helpers required by the Rust implementation. Reviewed-by: Daniel Almeida <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
-rw-r--r--rust/helpers/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c
index e1c21eba9b15..ae595c9cd91b 100644
--- a/rust/helpers/helpers.c
+++ b/rust/helpers/helpers.c
@@ -11,6 +11,7 @@
#include "bug.c"
#include "build_assert.c"
#include "build_bug.c"
+#include "clk.c"
#include "cpumask.c"
#include "cred.c"
#include "device.c"