From 52a318656dd8f8abdf375c3c9e02ac2b85a8e790 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Thu, 30 Oct 2003 03:17:33 +0000 Subject: simplify cfdriver initialization. drahn ok --- sys/arch/macppc/macppc/cpu.c | 4 ++-- sys/arch/macppc/macppc/mainbus.c | 4 ++-- 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 *); -- cgit v1.2.3