| 464 | } |
| 465 | |
| 466 | struct rt_ofw_node_id *rt_ofw_node_match(struct rt_ofw_node *np, const struct rt_ofw_node_id *ids) |
| 467 | { |
| 468 | struct rt_ofw_prop *prop; |
| 469 | struct rt_ofw_node_id *id = RT_NULL; |
| 470 | |
| 471 | if (np && ids && (prop = rt_ofw_get_prop(np, "compatible", RT_NULL))) |
| 472 | { |
| 473 | id = ofw_prop_match(prop, ids); |
| 474 | } |
| 475 | |
| 476 | return id; |
| 477 | } |
| 478 | |
| 479 | struct rt_ofw_node *rt_ofw_find_node_by_tag(struct rt_ofw_node *from, const char *tag) |
| 480 | { |
no test coverage detected