aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/oplib_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 19:54:44 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-05 19:54:44 -0500
commitab04323e5b8c50d6e8f7f4a3e4118ba5fcba61a1 (patch)
treecf0243e321ca5d827be48bc888803e7bdfe133c4 /arch/sparc/include/asm/oplib_32.h
parent657f201df693c26d294f6c789b8a87cd8c16eb53 (diff)
sparc: Const'ify prom_*prop*() on sparc32.
This brings things in line with sparc64. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/oplib_32.h')
-rw-r--r--arch/sparc/include/asm/oplib_32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/oplib_32.h b/arch/sparc/include/asm/oplib_32.h
index 699da05235c8..3bdf56f46883 100644
--- a/arch/sparc/include/asm/oplib_32.h
+++ b/arch/sparc/include/asm/oplib_32.h
@@ -199,12 +199,12 @@ extern int prom_getsibling(int node);
199/* Get the length, at the passed node, of the given property type. 199/* Get the length, at the passed node, of the given property type.
200 * Returns -1 on error (ie. no such property at this node). 200 * Returns -1 on error (ie. no such property at this node).
201 */ 201 */
202extern int prom_getproplen(int thisnode, char *property); 202extern int prom_getproplen(int thisnode, const char *property);
203 203
204/* Fetch the requested property using the given buffer. Returns 204/* Fetch the requested property using the given buffer. Returns
205 * the number of bytes the prom put into your buffer or -1 on error. 205 * the number of bytes the prom put into your buffer or -1 on error.
206 */ 206 */
207extern int __must_check prom_getproperty(int thisnode, char *property, 207extern int __must_check prom_getproperty(int thisnode, const char *property,
208 char *prop_buffer, int propbuf_size); 208 char *prop_buffer, int propbuf_size);
209 209
210/* Acquire an integer property. */ 210/* Acquire an integer property. */
@@ -246,7 +246,7 @@ extern int prom_node_has_property(int node, char *property);
246/* Set the indicated property at the given node with the passed value. 246/* Set the indicated property at the given node with the passed value.
247 * Returns the number of bytes of your value that the prom took. 247 * Returns the number of bytes of your value that the prom took.
248 */ 248 */
249extern int prom_setprop(int node, char *prop_name, char *prop_value, 249extern int prom_setprop(int node, const char *prop_name, char *prop_value,
250 int value_size); 250 int value_size);
251 251
252extern int prom_pathtoinode(char *path); 252extern int prom_pathtoinode(char *path);