From: Alice Ryhl Date: Tue, 2 Dec 2025 19:37:55 +0000 (+0000) Subject: rust: property: add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74ca60bd85c4b6952f5c7700c89407c4041535a7;p=thirdparty%2Fkernel%2Flinux.git rust: property: add __rust_helper to helpers This is needed to inline these helpers into Rust code. Signed-off-by: Alice Ryhl Reviewed-by: Gary Guo Reviewed-by: Boqun Feng Link: https://patch.msgid.link/20251202-define-rust-helper-v1-31-a2e13cbc17a6@google.com Signed-off-by: Danilo Krummrich --- diff --git a/rust/helpers/property.c b/rust/helpers/property.c index 08f68e2dac4a9..8fb9900533ef4 100644 --- a/rust/helpers/property.c +++ b/rust/helpers/property.c @@ -2,7 +2,7 @@ #include -void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) +__rust_helper void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) { fwnode_handle_put(fwnode); }