summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-30 03:17:33 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-30 03:17:33 +0000
commit52a318656dd8f8abdf375c3c9e02ac2b85a8e790 (patch)
treeb77a1ea96e3833385e48f9d3ab994cf2a7f59826 /sys
parent9677b94f881245a4a9b704d0e28912035f04c7da (diff)
simplify cfdriver initialization. drahn ok
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/macppc/cpu.c4
-rw-r--r--sys/arch/macppc/macppc/mainbus.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/macppc/cpu.c b/sys/arch/macppc/macppc/cpu.c
index f404ecb6017..977d60fdf0c 100644
--- a/sys/arch/macppc/macppc/cpu.c
+++ b/sys/arch/macppc/macppc/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.15 2003/10/16 05:03:22 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.16 2003/10/30 03:17:32 itojun Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -79,7 +79,7 @@ struct cfattach cpu_ca = {
};
struct cfdriver cpu_cd = {
- NULL, "cpu", DV_DULL, NULL, 0
+ NULL, "cpu", DV_DULL
};
void config_l2cr(int cpu);
diff --git a/sys/arch/macppc/macppc/mainbus.c b/sys/arch/macppc/macppc/mainbus.c
index f6251b1bd04..f5b0d9d080f 100644
--- a/sys/arch/macppc/macppc/mainbus.c
+++ b/sys/arch/macppc/macppc/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.9 2003/10/16 05:03:22 deraadt Exp $ */
+/* $OpenBSD: mainbus.c,v 1.10 2003/10/30 03:17:32 itojun Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -49,7 +49,7 @@ struct cfattach mainbus_ca = {
sizeof(struct mainbus_softc), mbmatch, mbattach
};
struct cfdriver mainbus_cd = {
- NULL, "mainbus", DV_DULL, NULL, 0
+ NULL, "mainbus", DV_DULL
};
void mb_intr_establish(struct confargs *, int (*)(void *), void *);