aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-01-01 07:53:11 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-03 01:19:40 -0500
commit1f42be484ffc5559a29466c82adac7dd472d4439 (patch)
tree3bcb2340108262ed136322a2eecef0047bafbdc7 /arch/sparc/include
parenta7e4236511c678bf012901faf3c285d199a1adc8 (diff)
sparc: remove unused prom tree functions
Remove the following unused funtions: prom_nodematch() prom_firstprop() prom_node_has_property() Also declare a few local functions static. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/oplib_32.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sparc/include/asm/oplib_32.h b/arch/sparc/include/asm/oplib_32.h
index 640558801b8e..98f70822fa05 100644
--- a/arch/sparc/include/asm/oplib_32.h
+++ b/arch/sparc/include/asm/oplib_32.h
@@ -147,19 +147,11 @@ extern int prom_getbool(phandle node, char *prop);
147/* Acquire a string property, null string on error. */ 147/* Acquire a string property, null string on error. */
148extern void prom_getstring(phandle node, char *prop, char *buf, int bufsize); 148extern void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
149 149
150/* Does the passed node have the given "name"? YES=1 NO=0 */
151extern int prom_nodematch(phandle thisnode, char *name);
152
153/* Search all siblings starting at the passed node for "name" matching 150/* Search all siblings starting at the passed node for "name" matching
154 * the given string. Returns the node on success, zero on failure. 151 * the given string. Returns the node on success, zero on failure.
155 */ 152 */
156extern phandle prom_searchsiblings(phandle node_start, char *name); 153extern phandle prom_searchsiblings(phandle node_start, char *name);
157 154
158/* Return the first property type, as a string, for the given node.
159 * Returns a null string on error.
160 */
161extern char *prom_firstprop(phandle node, char *buffer);
162
163/* Returns the next property after the passed property for the given 155/* Returns the next property after the passed property for the given
164 * node. Returns null string on failure. 156 * node. Returns null string on failure.
165 */ 157 */
@@ -168,9 +160,6 @@ extern char *prom_nextprop(phandle node, char *prev_property, char *buffer);
168/* Returns phandle of the path specified */ 160/* Returns phandle of the path specified */
169extern phandle prom_finddevice(char *name); 161extern phandle prom_finddevice(char *name);
170 162
171/* Returns 1 if the specified node has given property. */
172extern int prom_node_has_property(phandle node, char *property);
173
174/* Set the indicated property at the given node with the passed value. 163/* Set the indicated property at the given node with the passed value.
175 * Returns the number of bytes of your value that the prom took. 164 * Returns the number of bytes of your value that the prom took.
176 */ 165 */