summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
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/arch/mips64
parent6878c60384a68a15e48842a2b9c6426ce0c5ce3e (diff)
Move md_clk_attach() prototype to mips64/dev/clockvar.h.
ok pefo@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/dev/clockvar.h4
-rw-r--r--sys/arch/mips64/mips64/clock.c3
2 files changed, 4 insertions, 3 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