summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2010-04-09 11:30:19 +0000
committertsutsui <tsutsui@NetBSD.org>2010-04-09 11:30:19 +0000
commitc28b217b41e5ac5f3a7a2e7e2ef17489c655405b (patch)
treed7837a515a183ad55cf99c2864ec1af0879afb4d /sys/arch/atari/dev
parent649a24ad45f5e04c9e77f29be67be140f912d934 (diff)
Include ioconf.h for struct cfdriver.
Diffstat (limited to 'sys/arch/atari/dev')
-rw-r--r--sys/arch/atari/dev/zs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/atari/dev/zs.c b/sys/arch/atari/dev/zs.c
index f6466c2d777..671e1f0024b 100644
--- a/sys/arch/atari/dev/zs.c
+++ b/sys/arch/atari/dev/zs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.64 2009/07/19 05:46:15 tsutsui Exp $ */
+/* $NetBSD: zs.c,v 1.65 2010/04/09 11:30:19 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.64 2009/07/19 05:46:15 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.65 2010/04/09 11:30:19 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -103,6 +103,9 @@ __KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.64 2009/07/19 05:46:15 tsutsui Exp $");
#include <dev/ic/z8530reg.h>
#include <atari/dev/zsvar.h>
+
+#include "ioconf.h"
+
#include "zs.h"
#if NZS > 1
#error "This driver supports only 1 85C30!"
@@ -223,8 +226,6 @@ static void zsattach(struct device *, struct device *, void *);
CFATTACH_DECL(zs, sizeof(struct zs_softc),
zsmatch, zsattach, NULL, NULL);
-extern struct cfdriver zs_cd;
-
/* {b,c}devsw[] function prototypes */
dev_type_open(zsopen);
dev_type_close(zsclose);