Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/dev/wscons Make wsdisplay_vcons likelier to be ...



details:   https://anonhg.NetBSD.org/src/rev/77dd8ed71e34
branches:  riastradh-drm2
changeset: 788637:77dd8ed71e34
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jan 30 17:18:51 2014 +0000

description:
Make wsdisplay_vcons likelier to be modularizable too.

diffstat:

 sys/dev/wscons/wsdisplay_vcons.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 721c54106c56 -r 77dd8ed71e34 sys/dev/wscons/wsdisplay_vcons.c
--- a/sys/dev/wscons/wsdisplay_vcons.c  Thu Jan 30 17:18:15 2014 +0000
+++ b/sys/dev/wscons/wsdisplay_vcons.c  Thu Jan 30 17:18:51 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsdisplay_vcons.c,v 1.28 2013/05/28 11:04:04 macallan Exp $ */
+/*     $NetBSD: wsdisplay_vcons.c,v 1.28.4.1 2014/01/30 17:18:51 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2005, 2006 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.28 2013/05/28 11:04:04 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.28.4.1 2014/01/30 17:18:51 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -51,9 +51,11 @@
 
 #include <dev/wscons/wsdisplay_vconsvar.h>
 
+#ifdef _KERNEL_OPT
 #include "opt_wsemul.h"
 #include "opt_wsdisplay_compat.h"
 #include "opt_vcons.h"
+#endif
 
 static void vcons_dummy_init_screen(void *, struct vcons_screen *, int, 
            long *);



Home | Main Index | Thread Index | Old Index