diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-03-29 14:22:57 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:40 -0400 |
commit | 3dfe10ee7caae9802d84a06fe7724274dea24020 (patch) | |
tree | 9d8c39445c1a66135ae23e8444d51a66613e5798 /include/asm-sparc64/prom.h | |
parent | 374d4cac6283469f101282ca83ee008368bd8350 (diff) |
[SPARC64]: constify some paramaters of OF routines
This starts bringing the PowerPC and Sparc64 implemetations back closer
together.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/prom.h')
-rw-r--r-- | include/asm-sparc64/prom.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 50b03387c97b..6394bd1cdcd4 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h | |||
@@ -93,12 +93,14 @@ extern struct device_node *of_find_node_by_phandle(phandle handle); | |||
93 | extern struct device_node *of_get_parent(const struct device_node *node); | 93 | extern struct device_node *of_get_parent(const struct device_node *node); |
94 | extern struct device_node *of_get_next_child(const struct device_node *node, | 94 | extern struct device_node *of_get_next_child(const struct device_node *node, |
95 | struct device_node *prev); | 95 | struct device_node *prev); |
96 | extern struct property *of_find_property(struct device_node *np, | 96 | extern struct property *of_find_property(const struct device_node *np, |
97 | const char *name, | 97 | const char *name, |
98 | int *lenp); | 98 | int *lenp); |
99 | extern int of_device_is_compatible(struct device_node *device, const char *); | 99 | extern int of_device_is_compatible(const struct device_node *device, |
100 | extern const void *of_get_property(struct device_node *node, const char *name, | 100 | const char *); |
101 | int *lenp); | 101 | extern const void *of_get_property(const struct device_node *node, |
102 | const char *name, | ||
103 | int *lenp); | ||
102 | #define get_property(node,name,lenp) of_get_property(node,name,lenp) | 104 | #define get_property(node,name,lenp) of_get_property(node,name,lenp) |
103 | extern int of_set_property(struct device_node *node, const char *name, void *val, int len); | 105 | extern int of_set_property(struct device_node *node, const char *name, void *val, int len); |
104 | extern int of_getintprop_default(struct device_node *np, | 106 | extern int of_getintprop_default(struct device_node *np, |