summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-05-14 09:05:00 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-05-14 09:05:00 +0000
commit8588540876fe4a62fe0d0fb41e3d208126670b90 (patch)
treea3344eb5e09957c70ef018cf26bf92c714a7a074 /sys/dev
parent59b77577013fecdf012bd99a07e5833307b02471 (diff)
Nuke more commons: ac97_id2, tinfo_t
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aic6360var.h4
-rw-r--r--sys/dev/pci/yds.c4
-rw-r--r--sys/dev/pci/ydsvar.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/aic6360var.h b/sys/dev/ic/aic6360var.h
index de6aad861c2..c8deba51ded 100644
--- a/sys/dev/ic/aic6360var.h
+++ b/sys/dev/ic/aic6360var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic6360var.h,v 1.2 2002/03/14 01:26:54 millert Exp $ */
+/* $OpenBSD: aic6360var.h,v 1.3 2003/05/14 09:04:59 jason Exp $ */
/* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */
/*
@@ -112,7 +112,7 @@ struct aic_tinfo {
u_char period; /* Period suggestion */
u_char offset; /* Offset suggestion */
u_char width; /* Width suggestion */
-} tinfo_t;
+};
struct aic_softc {
struct device sc_dev;
diff --git a/sys/dev/pci/yds.c b/sys/dev/pci/yds.c
index 50c1e695946..f943d91d9aa 100644
--- a/sys/dev/pci/yds.c
+++ b/sys/dev/pci/yds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yds.c,v 1.18 2003/04/27 11:22:54 ho Exp $ */
+/* $OpenBSD: yds.c,v 1.19 2003/05/14 09:04:59 jason Exp $ */
/* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */
/*
@@ -92,6 +92,8 @@ int ydsdebug = 0;
# define YDS_INPUT_SLOT 1 /* ADC slot */
#endif
+static int ac97_id2;
+
int yds_match(struct device *, void *, void *);
void yds_attach(struct device *, struct device *, void *);
int yds_intr(void *);
diff --git a/sys/dev/pci/ydsvar.h b/sys/dev/pci/ydsvar.h
index e02a7730835..647da9cced6 100644
--- a/sys/dev/pci/ydsvar.h
+++ b/sys/dev/pci/ydsvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ydsvar.h,v 1.4 2002/01/04 20:42:18 ericj Exp $ */
+/* $OpenBSD: ydsvar.h,v 1.5 2003/05/14 09:04:59 jason Exp $ */
/* $NetBSD$ */
/*
@@ -120,6 +120,4 @@ struct yds_softc {
#define sc_opl_iot sc_legacy_iot
#define sc_mpu_iot sc_legacy_iot
-int ac97_id2;
-
#endif /* _DEV_PCI_YDSVAR_H_ */