diff options
| author | Danilo Krummrich <[email protected]> | 2025-06-20 15:15:04 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-25 16:10:12 +0000 |
| commit | 56a789f776f24e6b132ec00d4c27672ed4e2ec57 (patch) | |
| tree | 4d8ffe9a30fa0a5eeda62ed67ec98ff9242281b5 /rust/helpers/helpers.c | |
| parent | samples: rust: platform: Add property child and reference args examples (diff) | |
| download | kernel-56a789f776f24e6b132ec00d4c27672ed4e2ec57.tar.gz kernel-56a789f776f24e6b132ec00d4c27672ed4e2ec57.zip | |
rust: device: implement FwNode::is_of_node()
Implement FwNode::is_of_node() in order to check whether a FwNode
instance is embedded in a struct device_node.
Reviewed-by: Rob Herring (Arm) <[email protected]>
Signed-off-by: Igor Korotin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
| -rw-r--r-- | rust/helpers/helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c index 393ad201befb..0b09bd0e3561 100644 --- a/rust/helpers/helpers.c +++ b/rust/helpers/helpers.c @@ -28,6 +28,7 @@ #include "kunit.c" #include "mm.c" #include "mutex.c" +#include "of.c" #include "page.c" #include "platform.c" #include "pci.c" |
