aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/openprom_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 16:54:44 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-05 16:54:44 -0800
commitab04323e5b8c50d6e8f7f4a3e4118ba5fcba61a1 (patch)
treecf0243e321ca5d827be48bc888803e7bdfe133c4 /arch/sparc/include/asm/openprom_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/openprom_32.h')
-rw-r--r--arch/sparc/include/asm/openprom_32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/openprom_32.h b/arch/sparc/include/asm/openprom_32.h
index 8b1649f29ed..875da3552d8 100644
--- a/arch/sparc/include/asm/openprom_32.h
+++ b/arch/sparc/include/asm/openprom_32.h
@@ -170,9 +170,9 @@ struct linux_romvec {
struct linux_nodeops {
int (*no_nextnode)(int node);
int (*no_child)(int node);
- int (*no_proplen)(int node, char *name);
- int (*no_getprop)(int node, char *name, char *val);
- int (*no_setprop)(int node, char *name, char *val, int len);
+ int (*no_proplen)(int node, const char *name);
+ int (*no_getprop)(int node, const char *name, char *val);
+ int (*no_setprop)(int node, const char *name, char *val, int len);
char * (*no_nextprop)(int node, char *name);
};