Module Name:    src
Committed By:   rkujawa
Date:           Wed Sep 14 09:19:09 UTC 2011

Modified Files:
        src/sys/arch/amiga/amiga: simple_busfuncs.c

Log Message:
Fix typo, add missing include (make this compile again).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amiga/amiga/simple_busfuncs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amiga/amiga/simple_busfuncs.c
diff -u src/sys/arch/amiga/amiga/simple_busfuncs.c:1.9 src/sys/arch/amiga/amiga/simple_busfuncs.c:1.10
--- src/sys/arch/amiga/amiga/simple_busfuncs.c:1.9	Tue Sep 13 19:21:20 2011
+++ src/sys/arch/amiga/amiga/simple_busfuncs.c	Wed Sep 14 09:19:09 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: simple_busfuncs.c,v 1.9 2011/09/13 19:21:20 christos Exp $ */
+/* $NetBSD: simple_busfuncs.c,v 1.10 2011/09/14 09:19:09 rkujawa Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: simple_busfuncs.c,v 1.9 2011/09/13 19:21:20 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: simple_busfuncs.c,v 1.10 2011/09/14 09:19:09 rkujawa Exp $");
 
 /*
  * Do NOT use this standalone.
@@ -45,6 +45,7 @@
 #endif
 
 #include <sys/bus.h>
+#include <sys/null.h>
 
 #define MKN2(x,y) __CONCAT(x, y)
 #define MKN1(x,y) MKN2(x, y)
@@ -603,7 +604,7 @@
 	.bsrr4 =	oabs(bsrr4_),
 	.bswr4 =	oabs(bswr4_),
 	.bsrrs4 =	oabs(bsrr4_),
-	.bsrws4 =	oabs(bswr4_),
+	.bswrs4 =	oabs(bswr4_),
 	.bssr4 =	oabs(bssr4_),
 	.bscr4 =	oabs(bscr4_)
 #endif /* AMIGA_SIMPLE_BUS_LONGWORD_METHODS */

Reply via email to