[PATCH 31/46] rust: property: add __rust_helper to helpers

From: Alice Ryhl
Date: Tue Dec 02 2025 - 14:46:07 EST


This is needed to inline these helpers into Rust code.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Cc: Danilo Krummrich <dakr@xxxxxxxxxx>
Cc: Remo Senekowitsch <remo@xxxxxxxxxxx>
---
rust/helpers/property.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/helpers/property.c b/rust/helpers/property.c
index 08f68e2dac4a983c06d84a72d56247f19333cae2..8fb9900533ef45e2ce2b21ac7b000ac3fe6291ab 100644
--- a/rust/helpers/property.c
+++ b/rust/helpers/property.c
@@ -2,7 +2,7 @@

#include <linux/property.h>

-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);
}

--
2.52.0.158.g65b55ccf14-goog