summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-05-15 15:27:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-05-15 15:27:17 +0000
commit0e009d92fd0a95bae80fd6b734e8510b4edd8038 (patch)
tree6b91fbb9ecd7501cb3dac06240a2d9d3f43b45a3 /sys/arch/sparc/dev
parentb2f9d7dd11dbfc79a72f30951bef43f5ab7f65a1 (diff)
Make fb_pfour_id() take a volatile pointer as argument.
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c
index 7ca2ff43ff3..17f0b19cd34 100644
--- a/sys/arch/sparc/dev/fb.c
+++ b/sys/arch/sparc/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.49 2009/06/03 20:17:48 kettenis Exp $ */
+/* $OpenBSD: fb.c,v 1.50 2010/05/15 15:27:15 miod Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -625,7 +625,7 @@ fb_show_screen(void *v, void *cookie, int waitok, void (*cb)(void *, int, int),
* otherwise returns P4 ID
*/
int
-fb_pfour_id(void *va)
+fb_pfour_id(volatile void *va)
{
volatile u_int32_t val, save, *pfour = va;