From: Alice Ryhl Date: Mon, 5 Jan 2026 12:42:25 +0000 (+0000) Subject: rust: of: add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fffdb58732a979564b8834b2ce25b6562dbbcbb7;p=thirdparty%2Flinux.git rust: of: add __rust_helper to helpers This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng Reviewed-by: Gary Guo Signed-off-by: Alice Ryhl Acked-by: Rob Herring (Arm) Link: https://patch.msgid.link/20260105-define-rust-helper-v2-12-51da5f454a67@google.com Signed-off-by: Miguel Ojeda --- diff --git a/rust/helpers/of.c b/rust/helpers/of.c index 86b51167c913f..8f62ca69e8ba5 100644 --- a/rust/helpers/of.c +++ b/rust/helpers/of.c @@ -2,7 +2,7 @@ #include -bool rust_helper_is_of_node(const struct fwnode_handle *fwnode) +__rust_helper bool rust_helper_is_of_node(const struct fwnode_handle *fwnode) { return is_of_node(fwnode); }