Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Need to include <sys/device.h> since vax's <sys/cpu....



details:   https://anonhg.NetBSD.org/src/rev/4cdc79e9de5d
branches:  trunk
changeset: 759696:4cdc79e9de5d
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 15 00:08:43 2010 +0000

description:
Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't.

diffstat:

 sys/dev/bi/bi.c   |  5 +++--
 sys/dev/qbus/ts.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 51921a343376 -r 4cdc79e9de5d sys/dev/bi/bi.c
--- a/sys/dev/bi/bi.c   Wed Dec 15 00:06:47 2010 +0000
+++ b/sys/dev/bi/bi.c   Wed Dec 15 00:08:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bi.c,v 1.24 2008/03/11 05:34:01 matt Exp $ */
+/*     $NetBSD: bi.c,v 1.25 2010/12/15 00:08:43 matt Exp $ */
 /*
  * Copyright (c) 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -41,13 +41,14 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bi.c,v 1.24 2008/03/11 05:34:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bi.c,v 1.25 2010/12/15 00:08:43 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 
 #include <sys/bus.h>
 #include <sys/cpu.h>
+#include <sys/device.h>
 
 #include <dev/bi/bireg.h>
 #include <dev/bi/bivar.h>
diff -r 51921a343376 -r 4cdc79e9de5d sys/dev/qbus/ts.c
--- a/sys/dev/qbus/ts.c Wed Dec 15 00:06:47 2010 +0000
+++ b/sys/dev/qbus/ts.c Wed Dec 15 00:08:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ts.c,v 1.27 2009/01/13 13:35:53 yamt Exp $ */
+/*     $NetBSD: ts.c,v 1.28 2010/12/15 00:08:43 matt Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.27 2009/01/13 13:35:53 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.28 2010/12/15 00:08:43 matt Exp $");
 
 #undef TSDEBUG
 
@@ -84,6 +84,7 @@
 #include <sys/buf.h>
 #include <sys/bufq.h>
 #include <sys/conf.h>
+#include <sys/device.h>
 #include <sys/errno.h>
 #include <sys/file.h>
 #include <sys/syslog.h>



Home | Main Index | Thread Index | Old Index