Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/dev Include ioconf.h for struct cfdriver.
details: https://anonhg.NetBSD.org/src/rev/240b490a65a9
branches: trunk
changeset: 753752:240b490a65a9
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Apr 09 10:07:14 2010 +0000
description:
Include ioconf.h for struct cfdriver.
diffstat:
sys/arch/atari/dev/ser.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c513c561535f -r 240b490a65a9 sys/arch/atari/dev/ser.c
--- a/sys/arch/atari/dev/ser.c Fri Apr 09 10:04:35 2010 +0000
+++ b/sys/arch/atari/dev/ser.c Fri Apr 09 10:07:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ser.c,v 1.46 2010/04/09 10:04:35 tsutsui Exp $ */
+/* $NetBSD: ser.c,v 1.47 2010/04/09 10:07:14 tsutsui Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.46 2010/04/09 10:04:35 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.47 2010/04/09 10:07:14 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_mbtype.h"
@@ -121,6 +121,8 @@
#include <machine/intr.h>
#include <atari/dev/serreg.h>
+#include "ioconf.h"
+
#if !defined(_MILANHW_)
#include <atari/dev/ym2149reg.h>
#else
@@ -247,8 +249,6 @@
CFATTACH_DECL(ser, sizeof(struct ser_softc),
sermatch, serattach, NULL, NULL);
-extern struct cfdriver ser_cd;
-
dev_type_open(seropen);
dev_type_close(serclose);
dev_type_read(serread);
Home |
Main Index |
Thread Index |
Old Index