summaryrefslogtreecommitdiff
path: root/sys/dev/sun
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2009-09-19 07:07:42 +0000
committertsutsui <tsutsui@NetBSD.org>2009-09-19 07:07:42 +0000
commitfd194ac3e55e004dcf4e8f246a4ce09824a9a15e (patch)
treeddd1ac461176996293c651eb8fc904cf1cfb5744 /sys/dev/sun
parentb53bfce489ee5b1363cc9ee16e56ccf72ea5a8e1 (diff)
Include "ioconf.h" instead of extern struct cfdriver foo_cd decls.
Diffstat (limited to 'sys/dev/sun')
-rw-r--r--sys/dev/sun/bwtwo.c6
-rw-r--r--sys/dev/sun/cgsix.c8
-rw-r--r--sys/dev/sun/cgthree.c8
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/sun/bwtwo.c b/sys/dev/sun/bwtwo.c
index 7e8cbd823e2..658b151186d 100644
--- a/sys/dev/sun/bwtwo.c
+++ b/sys/dev/sun/bwtwo.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo.c,v 1.27 2009/09/19 04:52:44 tsutsui Exp $ */
+/* $NetBSD: bwtwo.c,v 1.28 2009/09/19 07:07:42 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.27 2009/09/19 04:52:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.28 2009/09/19 07:07:42 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -109,7 +109,7 @@ __KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.27 2009/09/19 04:52:44 tsutsui Exp $");
#include "opt_wsemul.h"
#endif
-extern struct cfdriver bwtwo_cd;
+#include "ioconf.h"
dev_type_open(bwtwoopen);
dev_type_ioctl(bwtwoioctl);
diff --git a/sys/dev/sun/cgsix.c b/sys/dev/sun/cgsix.c
index 7e41ab56c15..ea4aceea089 100644
--- a/sys/dev/sun/cgsix.c
+++ b/sys/dev/sun/cgsix.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cgsix.c,v 1.45 2009/08/20 02:49:30 macallan Exp $ */
+/* $NetBSD: cgsix.c,v 1.46 2009/09/19 07:07:43 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.45 2009/08/20 02:49:30 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.46 2009/09/19 07:07:43 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -116,11 +116,11 @@ __KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.45 2009/08/20 02:49:30 macallan Exp $");
#include <dev/sun/cgsixreg.h>
#include <dev/sun/cgsixvar.h>
+#include "ioconf.h"
+
static void cg6_unblank(device_t);
static void cg6_blank(struct cgsix_softc *, int);
-extern struct cfdriver cgsix_cd;
-
dev_type_open(cgsixopen);
dev_type_close(cgsixclose);
dev_type_ioctl(cgsixioctl);
diff --git a/sys/dev/sun/cgthree.c b/sys/dev/sun/cgthree.c
index 09c033d478c..e43708f7b48 100644
--- a/sys/dev/sun/cgthree.c
+++ b/sys/dev/sun/cgthree.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cgthree.c,v 1.24 2009/09/18 16:43:19 tsutsui Exp $ */
+/* $NetBSD: cgthree.c,v 1.25 2009/09/19 07:07:43 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.24 2009/09/18 16:43:19 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.25 2009/09/19 07:07:43 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -69,13 +69,13 @@ __KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.24 2009/09/18 16:43:19 tsutsui Exp $")
#include "opt_wsemul.h"
#endif
+#include "ioconf.h"
+
static void cgthreeunblank(device_t);
static void cgthreeloadcmap(struct cgthree_softc *, int, int);
static void cgthree_set_video(struct cgthree_softc *, int);
static int cgthree_get_video(struct cgthree_softc *);
-extern struct cfdriver cgthree_cd;
-
dev_type_open(cgthreeopen);
dev_type_ioctl(cgthreeioctl);
dev_type_mmap(cgthreemmap);