]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: clk: Add helpers for Rust code
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 Feb 2025 11:04:00 +0000 (16:34 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 19 May 2025 07:25:40 +0000 (12:55 +0530)
commitb7b7b981cb037d250ad06c3a6558d69e04ed77c7
treececba4407b799c1ded4de0c7a302e884af77ef55
parentab49f64078da82ae5c362900b65a872f8a9bd585
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 <daniel.almeida@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
MAINTAINERS
rust/bindings/bindings_helper.h
rust/helpers/clk.c [new file with mode: 0644]
rust/helpers/helpers.c