diff options
| author | Grant Likely <grant.likely@linaro.org> | 2014-08-11 09:03:08 -0400 |
|---|---|---|
| committer | Grant Likely <grant.likely@linaro.org> | 2014-08-11 09:03:08 -0400 |
| commit | b775e642bf958a02210ac4d4edd1a1b7067c49fa (patch) | |
| tree | a3425ead7b2738e6a05249a3c3667d1069782330 /include/linux | |
| parent | 32147e9a8ea54f2ec9914edeede8a9d9dc02e886 (diff) | |
| parent | ccdb8ed3b3c739fe99a6f2f474f7ffad3203485d (diff) | |
Merge branch 'devicetree/next-console' into devicetree/next
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, |
