| .. | .. |
|---|
| 38 | 38 | child = of_graph_get_next_endpoint(parent, child)) |
|---|
| 39 | 39 | |
|---|
| 40 | 40 | #ifdef CONFIG_OF |
|---|
| 41 | +bool of_graph_is_present(const struct device_node *node); |
|---|
| 41 | 42 | int of_graph_parse_endpoint(const struct device_node *node, |
|---|
| 42 | 43 | struct of_endpoint *endpoint); |
|---|
| 43 | 44 | int of_graph_get_endpoint_count(const struct device_node *np); |
|---|
| .. | .. |
|---|
| 56 | 57 | u32 port, u32 endpoint); |
|---|
| 57 | 58 | #else |
|---|
| 58 | 59 | |
|---|
| 60 | +static inline bool of_graph_is_present(const struct device_node *node) |
|---|
| 61 | +{ |
|---|
| 62 | + return false; |
|---|
| 63 | +} |
|---|
| 64 | + |
|---|
| 59 | 65 | static inline int of_graph_parse_endpoint(const struct device_node *node, |
|---|
| 60 | 66 | struct of_endpoint *endpoint) |
|---|
| 61 | 67 | { |
|---|