Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/tc Add some missing includes of <sys/device.h>



details:   https://anonhg.NetBSD.org/src/rev/f76dd1dad9b9
branches:  trunk
changeset: 762374:f76dd1dad9b9
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Feb 20 08:03:22 2011 +0000

description:
Add some missing includes of <sys/device.h>

diffstat:

 sys/dev/tc/ioasicvar.h |  4 +++-
 sys/dev/tc/tcvar.h     |  3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 62669a4f2325 -r f76dd1dad9b9 sys/dev/tc/ioasicvar.h
--- a/sys/dev/tc/ioasicvar.h    Sun Feb 20 08:02:46 2011 +0000
+++ b/sys/dev/tc/ioasicvar.h    Sun Feb 20 08:03:22 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ioasicvar.h,v 1.20 2009/05/12 14:47:04 cegger Exp $    */
+/*     $NetBSD: ioasicvar.h,v 1.21 2011/02/20 08:03:22 matt Exp $      */
 
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
@@ -30,6 +30,8 @@
 #ifndef _DEV_TC_IOASICVAR_H_
 #define _DEV_TC_IOASICVAR_H_
 
+#include <sys/device.h>
+
 struct ioasic_dev {
        const char      *iad_modname;
        tc_offset_t     iad_offset;
diff -r 62669a4f2325 -r f76dd1dad9b9 sys/dev/tc/tcvar.h
--- a/sys/dev/tc/tcvar.h        Sun Feb 20 08:02:46 2011 +0000
+++ b/sys/dev/tc/tcvar.h        Sun Feb 20 08:03:22 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcvar.h,v 1.24 2009/05/12 14:47:04 cegger Exp $ */
+/* $NetBSD: tcvar.h,v 1.25 2011/02/20 08:03:22 matt Exp $ */
 
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
@@ -35,6 +35,7 @@
  */
 
 #include <sys/bus.h>
+#include <sys/device.h>
 #include <dev/tc/tcreg.h>
 
 /*



Home | Main Index | Thread Index | Old Index