summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-31 21:25:22 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-31 21:25:22 +0000
commit763a2d1edefc9619d982f97b2fff7aedcae67503 (patch)
treeace6b5dd67519ce16753791e1eaa488460a2f8ac /sys
parent6878c60384a68a15e48842a2b9c6426ce0c5ce3e (diff)
Move md_clk_attach() prototype to mips64/dev/clockvar.h.
ok pefo@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mips64/dev/clockvar.h4
-rw-r--r--sys/arch/mips64/mips64/clock.c3
-rw-r--r--sys/arch/sgi/sgi/clock_md.c4
3 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/mips64/dev/clockvar.h b/sys/arch/mips64/dev/clockvar.h
index 5b6bd14c5a5..de485e34fba 100644
--- a/sys/arch/mips64/dev/clockvar.h
+++ b/sys/arch/mips64/dev/clockvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clockvar.h,v 1.2 2004/08/10 20:28:13 deraadt Exp $ */
+/* $OpenBSD: clockvar.h,v 1.3 2005/01/31 21:25:20 grange Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -73,3 +73,5 @@ struct clock_softc {
bus_space_handle_t sc_clk_h;
void *ih;
};
+
+void md_clk_attach(struct device *, struct device *, void *);
diff --git a/sys/arch/mips64/mips64/clock.c b/sys/arch/mips64/mips64/clock.c
index b15f58d27f1..9dc95536e24 100644
--- a/sys/arch/mips64/mips64/clock.c
+++ b/sys/arch/mips64/mips64/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.9 2004/10/20 12:49:15 pefo Exp $ */
+/* $OpenBSD: clock.c,v 1.10 2005/01/31 21:25:21 grange Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -46,7 +46,6 @@ void clockattach(struct device *, struct device *, void *);
intrmask_t clock_int5_dummy(intrmask_t, struct trap_frame *);
intrmask_t clock_int5(intrmask_t, struct trap_frame *);
void clock_int5_init(struct clock_softc *);
-void md_clk_attach(struct device *, struct device *, void *);
struct cfdriver clock_cd = {
NULL, "clock", DV_DULL, NULL, 0
diff --git a/sys/arch/sgi/sgi/clock_md.c b/sys/arch/sgi/sgi/clock_md.c
index f1c8b9d9f03..9d1dff07dfa 100644
--- a/sys/arch/sgi/sgi/clock_md.c
+++ b/sys/arch/sgi/sgi/clock_md.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock_md.c,v 1.7 2004/10/20 12:49:15 pefo Exp $ */
+/* $OpenBSD: clock_md.c,v 1.8 2005/01/31 21:25:21 grange Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -55,8 +55,6 @@ struct cfattach clock_xbowmux_ca = {
};
-void md_clk_attach(struct device *parent, struct device *self, void *aux);
-
void ds1687_get(struct clock_softc *, time_t, struct tod_time *);
void ds1687_set(struct clock_softc *, struct tod_time *);