diff options
Diffstat (limited to 'include/asm-sparc64/prom.h')
-rw-r--r-- | include/asm-sparc64/prom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index d0187b3a0ec3..062ae6e1212e 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h | |||
@@ -76,12 +76,15 @@ extern struct device_node *of_find_node_by_type(struct device_node *from, | |||
76 | for (dn = of_find_node_by_type(NULL, type); dn; \ | 76 | for (dn = of_find_node_by_type(NULL, type); dn; \ |
77 | dn = of_find_node_by_type(dn, type)) | 77 | dn = of_find_node_by_type(dn, type)) |
78 | extern struct device_node *of_find_node_by_path(const char *path); | 78 | extern struct device_node *of_find_node_by_path(const char *path); |
79 | extern struct device_node *of_find_node_by_phandle(phandle handle); | ||
79 | extern struct device_node *of_get_parent(const struct device_node *node); | 80 | extern struct device_node *of_get_parent(const struct device_node *node); |
80 | extern struct device_node *of_get_next_child(const struct device_node *node, | 81 | extern struct device_node *of_get_next_child(const struct device_node *node, |
81 | struct device_node *prev); | 82 | struct device_node *prev); |
82 | extern struct property *of_find_property(struct device_node *np, | 83 | extern struct property *of_find_property(struct device_node *np, |
83 | const char *name, | 84 | const char *name, |
84 | int *lenp); | 85 | int *lenp); |
86 | extern void *of_get_property(struct device_node *node, const char *name, | ||
87 | int *lenp); | ||
85 | extern int of_getintprop_default(struct device_node *np, | 88 | extern int of_getintprop_default(struct device_node *np, |
86 | const char *name, | 89 | const char *name, |
87 | int def); | 90 | int def); |