aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/prom.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
commit79acbb3ff2d8095b692e1502b9eb2ccec348de26 (patch)
tree6ab773e5a8f9de2cd6443362b21d0d6fffe3b35e /include/asm-powerpc/prom.h
parent19a79859e168640f8e16d7b216d211c1c52b687a (diff)
parent2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff)
Merge branch 'linux-2.6' into for-linus
Diffstat (limited to 'include/asm-powerpc/prom.h')
-rw-r--r--include/asm-powerpc/prom.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h
index 1fd7a2253e3a..0afee17f33b4 100644
--- a/include/asm-powerpc/prom.h
+++ b/include/asm-powerpc/prom.h
@@ -135,7 +135,7 @@ extern struct device_node *of_find_all_nodes(struct device_node *prev);
135extern struct device_node *of_get_parent(const struct device_node *node); 135extern struct device_node *of_get_parent(const struct device_node *node);
136extern struct device_node *of_get_next_child(const struct device_node *node, 136extern struct device_node *of_get_next_child(const struct device_node *node,
137 struct device_node *prev); 137 struct device_node *prev);
138extern struct property *of_find_property(struct device_node *np, 138extern struct property *of_find_property(const struct device_node *np,
139 const char *name, 139 const char *name,
140 int *lenp); 140 int *lenp);
141extern struct device_node *of_node_get(struct device_node *node); 141extern struct device_node *of_node_get(struct device_node *node);
@@ -159,10 +159,12 @@ extern void of_detach_node(const struct device_node *);
159extern void finish_device_tree(void); 159extern void finish_device_tree(void);
160extern void unflatten_device_tree(void); 160extern void unflatten_device_tree(void);
161extern void early_init_devtree(void *); 161extern void early_init_devtree(void *);
162extern int device_is_compatible(struct device_node *device, const char *); 162extern int device_is_compatible(const struct device_node *device,
163 const char *);
163extern int machine_is_compatible(const char *compat); 164extern int machine_is_compatible(const char *compat);
164extern const void *get_property(struct device_node *node, const char *name, 165extern const void *get_property(const struct device_node *node,
165 int *lenp); 166 const char *name,
167 int *lenp);
166extern void print_properties(struct device_node *node); 168extern void print_properties(struct device_node *node);
167extern int prom_n_addr_cells(struct device_node* np); 169extern int prom_n_addr_cells(struct device_node* np);
168extern int prom_n_size_cells(struct device_node* np); 170extern int prom_n_size_cells(struct device_node* np);