Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic more _KERNEL_OPT



details:   https://anonhg.NetBSD.org/src/rev/90eeda8b9bb7
branches:  trunk
changeset: 333641:90eeda8b9bb7
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 12 03:12:35 2014 +0000

description:
more _KERNEL_OPT

diffstat:

 sys/dev/ic/pcdisplayvar.h |  4 +++-
 sys/dev/ic/vgavar.h       |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 03dd56db279b -r 90eeda8b9bb7 sys/dev/ic/pcdisplayvar.h
--- a/sys/dev/ic/pcdisplayvar.h Wed Nov 12 03:03:01 2014 +0000
+++ b/sys/dev/ic/pcdisplayvar.h Wed Nov 12 03:12:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcdisplayvar.h,v 1.19 2009/03/15 15:52:12 cegger Exp $ */
+/* $NetBSD: pcdisplayvar.h,v 1.20 2014/11/12 03:12:35 christos Exp $ */
 
 /*
  * Copyright (c) 1998
@@ -26,7 +26,9 @@
  *
  */
 
+#ifdef _KERNEL_OPT
 #include "opt_pcdisplay.h"
+#endif
 
 struct pcdisplayscreen {
        struct pcdisplay_handle *hdl;
diff -r 03dd56db279b -r 90eeda8b9bb7 sys/dev/ic/vgavar.h
--- a/sys/dev/ic/vgavar.h       Wed Nov 12 03:03:01 2014 +0000
+++ b/sys/dev/ic/vgavar.h       Wed Nov 12 03:12:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vgavar.h,v 1.31 2014/08/21 13:52:22 macallan Exp $ */
+/* $NetBSD: vgavar.h,v 1.32 2014/11/12 03:12:35 christos Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,9 @@
 
 #include <sys/callout.h>
 
+#ifdef _KERNEL_OPT
 #include "opt_vga.h"
+#endif
 
 struct vga_handle {
        struct pcdisplay_handle vh_ph;



Home | Main Index | Thread Index | Old Index