diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/of.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index 196b34c1ef4e..f0d256273c83 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
| @@ -113,6 +113,7 @@ static inline void of_node_put(struct device_node *node) { } | |||
| 113 | extern struct device_node *of_allnodes; | 113 | extern struct device_node *of_allnodes; |
| 114 | extern struct device_node *of_chosen; | 114 | extern struct device_node *of_chosen; |
| 115 | extern struct device_node *of_aliases; | 115 | extern struct device_node *of_aliases; |
| 116 | extern struct device_node *of_stdout; | ||
| 116 | extern raw_spinlock_t devtree_lock; | 117 | extern raw_spinlock_t devtree_lock; |
| 117 | 118 | ||
| 118 | static inline bool of_have_populated_dt(void) | 119 | static inline bool of_have_populated_dt(void) |
| @@ -352,7 +353,7 @@ const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, | |||
| 352 | */ | 353 | */ |
| 353 | const char *of_prop_next_string(struct property *prop, const char *cur); | 354 | const char *of_prop_next_string(struct property *prop, const char *cur); |
| 354 | 355 | ||
| 355 | int of_device_is_stdout_path(struct device_node *dn); | 356 | bool of_console_check(struct device_node *dn, char *name, int index); |
| 356 | 357 | ||
| 357 | #else /* CONFIG_OF */ | 358 | #else /* CONFIG_OF */ |
| 358 | 359 | ||
| @@ -564,9 +565,9 @@ static inline int of_machine_is_compatible(const char *compat) | |||
| 564 | return 0; | 565 | return 0; |
| 565 | } | 566 | } |
| 566 | 567 | ||
| 567 | static inline int of_device_is_stdout_path(struct device_node *dn) | 568 | static inline bool of_console_check(const struct device_node *dn, const char *name, int index) |
| 568 | { | 569 | { |
| 569 | return 0; | 570 | return false; |
| 570 | } | 571 | } |
| 571 | 572 | ||
| 572 | static inline const __be32 *of_prop_next_u32(struct property *prop, | 573 | static inline const __be32 *of_prop_next_u32(struct property *prop, |
