mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
software node: Add software_node_find_by_name()
Function that searches software nodes by node name. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
a55aa89aab
commit
1666faedb5
2 changed files with 41 additions and 0 deletions
|
@ -421,6 +421,10 @@ bool is_software_node(const struct fwnode_handle *fwnode);
|
|||
const struct software_node *to_software_node(struct fwnode_handle *fwnode);
|
||||
struct fwnode_handle *software_node_fwnode(const struct software_node *node);
|
||||
|
||||
const struct software_node *
|
||||
software_node_find_by_name(const struct software_node *parent,
|
||||
const char *name);
|
||||
|
||||
int software_node_register_nodes(const struct software_node *nodes);
|
||||
void software_node_unregister_nodes(const struct software_node *nodes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue