diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index e7facd8fbce8..bec215792c4f 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -63,6 +63,9 @@ struct device_node { | |||
63 | #endif | 63 | #endif |
64 | }; | 64 | }; |
65 | 65 | ||
66 | /* Pointer for first entry in chain of all nodes. */ | ||
67 | extern struct device_node *allnodes; | ||
68 | |||
66 | static inline int of_node_check_flag(struct device_node *n, unsigned long flag) | 69 | static inline int of_node_check_flag(struct device_node *n, unsigned long flag) |
67 | { | 70 | { |
68 | return test_bit(flag, &n->_flags); | 71 | return test_bit(flag, &n->_flags); |