| 421 | } |
| 422 | |
| 423 | rt_bool_t rt_ofw_node_is_compatible(const struct rt_ofw_node *np, const char *compatible) |
| 424 | { |
| 425 | rt_bool_t res = RT_FALSE; |
| 426 | |
| 427 | if (np) |
| 428 | { |
| 429 | res = ofw_node_index_of_compatible(np, compatible) >= 0; |
| 430 | } |
| 431 | |
| 432 | return res; |
| 433 | } |
| 434 | |
| 435 | static struct rt_ofw_node_id *ofw_prop_match(struct rt_ofw_prop *prop, const struct rt_ofw_node_id *ids) |
| 436 | { |
no test coverage detected