mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 23:04:54 +01:00
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]>
9 lines
156 B
C
9 lines
156 B
C
// 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);
|
|
}
|