summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/openprom.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-10 16:34:10 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-10 16:34:10 -0800
commit23bcbf1b63350ed529f7dfb8a5c459e6e0c1a3ca (patch)
treeda1b9a4fa3b31895d196d44a3b172af024aaa0af /arch/sparc/include/asm/openprom.h
parent6313e3c21743cc88bb5bd8aa72948ee1e83937b6 (diff)
parent595a251c0740785fd3c0d2156d78578c7479811e (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Diffstat (limited to 'arch/sparc/include/asm/openprom.h')
-rw-r--r--arch/sparc/include/asm/openprom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/openprom.h b/arch/sparc/include/asm/openprom.h
index 81cd43432dc..47eaafad15c 100644
--- a/arch/sparc/include/asm/openprom.h
+++ b/arch/sparc/include/asm/openprom.h
@@ -39,7 +39,7 @@ struct linux_dev_v2_funcs {
int (*v2_dev_open)(char *devpath);
void (*v2_dev_close)(int d);
int (*v2_dev_read)(int d, char *buf, int nbytes);
- int (*v2_dev_write)(int d, char *buf, int nbytes);
+ int (*v2_dev_write)(int d, const char *buf, int nbytes);
int (*v2_dev_seek)(int d, int hi, int lo);
/* Never issued (multistage load support) */