diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:50:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:50:50 +0000 |
commit | 1e98c85d3254b46ed8d216477a5adf8580834616 (patch) | |
tree | c7808266b235b44443cbe152cb637731c588561b /sys/arch/mvmeppc | |
parent | f6626fb981dd9d4254dfc7db5c4ca0d5a8d551bd (diff) |
Do not fill more than the first three fields of cfdriver structures unless
necessary. No functional change.
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/dev/bugtty.c | 4 | ||||
-rw-r--r-- | sys/arch/mvmeppc/dev/cpu.c | 4 | ||||
-rw-r--r-- | sys/arch/mvmeppc/dev/mainbus.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mvmeppc/dev/bugtty.c b/sys/arch/mvmeppc/dev/bugtty.c index be48c69e3be..93ce770a757 100644 --- a/sys/arch/mvmeppc/dev/bugtty.c +++ b/sys/arch/mvmeppc/dev/bugtty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bugtty.c,v 1.8 2003/08/15 20:32:14 tedu Exp $ */ +/* $OpenBSD: bugtty.c,v 1.9 2004/01/14 20:50:48 miod Exp $ */ /* Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1995 Dale Rahn. @@ -53,7 +53,7 @@ struct cfattach bugtty_ca = { }; struct cfdriver bugtty_cd = { - NULL, "bugtty", DV_TTY, 0 + NULL, "bugtty", DV_TTY }; /* prototypes */ diff --git a/sys/arch/mvmeppc/dev/cpu.c b/sys/arch/mvmeppc/dev/cpu.c index 9e41aafbb8d..9dea046353e 100644 --- a/sys/arch/mvmeppc/dev/cpu.c +++ b/sys/arch/mvmeppc/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.6 2003/05/11 19:41:11 deraadt Exp $ */ +/* $OpenBSD: cpu.c,v 1.7 2004/01/14 20:50:49 miod Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -52,7 +52,7 @@ struct cfattach cpu_ca = { sizeof(struct device), cpumatch, cpuattach }; struct cfdriver cpu_cd = { - NULL, "cpu", DV_DULL, NULL, 0 + NULL, "cpu", DV_DULL }; static int diff --git a/sys/arch/mvmeppc/dev/mainbus.c b/sys/arch/mvmeppc/dev/mainbus.c index 5e7d410e97a..1ff53f3acb2 100644 --- a/sys/arch/mvmeppc/dev/mainbus.c +++ b/sys/arch/mvmeppc/dev/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.4 2002/03/14 03:15:58 millert Exp $ */ +/* $OpenBSD: mainbus.c,v 1.5 2004/01/14 20:50:49 miod Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -48,7 +48,7 @@ struct cfattach mainbus_ca = { sizeof(struct device), 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 *); |