diff options
Diffstat (limited to 'rust/helpers/of.c')
-rw-r--r-- | rust/helpers/of.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/helpers/of.c b/rust/helpers/of.c new file mode 100644 index 000000000000..86b51167c913 --- /dev/null +++ b/rust/helpers/of.c @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <linux/of.h> + +bool rust_helper_is_of_node(const struct fwnode_handle *fwnode) +{ + return is_of_node(fwnode); +} |