Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/amiga Fix typo, add missing include (make thi...



details:   https://anonhg.NetBSD.org/src/rev/bcd9776e4f4d
branches:  trunk
changeset: 769551:bcd9776e4f4d
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Wed Sep 14 09:19:09 2011 +0000

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

diffstat:

 sys/arch/amiga/amiga/simple_busfuncs.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 1d19758c1e6d -r bcd9776e4f4d sys/arch/amiga/amiga/simple_busfuncs.c
--- a/sys/arch/amiga/amiga/simple_busfuncs.c    Wed Sep 14 06:50:43 2011 +0000
+++ b/sys/arch/amiga/amiga/simple_busfuncs.c    Wed Sep 14 09:19:09 2011 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index