aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/of.h3
-rw-r--r--include/linux/of_fdt.h4
2 files changed, 3 insertions, 4 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. */
67extern struct device_node *allnodes;
68
66static inline int of_node_check_flag(struct device_node *n, unsigned long flag) 69static 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);
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h
index ace9068e07e8..81231e04e8f3 100644
--- a/include/linux/of_fdt.h
+++ b/include/linux/of_fdt.h
@@ -69,10 +69,6 @@ extern void *of_get_flat_dt_prop(unsigned long node, const char *name,
69 unsigned long *size); 69 unsigned long *size);
70extern int of_flat_dt_is_compatible(unsigned long node, const char *name); 70extern int of_flat_dt_is_compatible(unsigned long node, const char *name);
71extern unsigned long of_get_flat_dt_root(void); 71extern unsigned long of_get_flat_dt_root(void);
72extern unsigned long unflatten_dt_node(unsigned long mem, unsigned long *p,
73 struct device_node *dad,
74 struct device_node ***allnextpp,
75 unsigned long fpsize);
76 72
77/* Other Prototypes */ 73/* Other Prototypes */
78extern void finish_device_tree(void); 74extern void finish_device_tree(void);