Specify the member names of struct platform for clarity.

This commit is contained in:
rumble 2006-12-27 07:45:11 +00:00
parent e131201724
commit 63c6a08fb6

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.100 2006/12/22 01:33:57 rumble Exp $ */ /* $NetBSD: machdep.c,v 1.101 2006/12/27 07:45:11 rumble Exp $ */
/* /*
* Copyright (c) 2000 Soren S. Jorvang * Copyright (c) 2000 Soren S. Jorvang
@ -34,7 +34,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.100 2006/12/22 01:33:57 rumble Exp $"); __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.101 2006/12/27 07:45:11 rumble Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
#include "opt_kgdb.h" #include "opt_kgdb.h"
@ -210,19 +210,19 @@ static void nullvoid(void);
void ddb_trap_hook(int where); void ddb_trap_hook(int where);
struct platform platform = { struct platform platform = {
unimpl_bus_reset, .bus_reset = unimpl_bus_reset,
unimpl_cons_init, .cons_init = unimpl_cons_init,
unimpl_intr_establish, .intr_establish = unimpl_intr_establish,
nulllong, .clkread = nulllong,
nullvoid, .watchdog_reset = nullvoid,
nullvoid, .watchdog_disable = nullvoid,
nullvoid, .watchdog_enable = nullvoid,
unimpl_intr, .intr0 = unimpl_intr,
unimpl_intr, .intr1 = unimpl_intr,
unimpl_intr, .intr2 = unimpl_intr,
unimpl_intr, .intr3 = unimpl_intr,
unimpl_intr, .intr4 = unimpl_intr,
unimpl_intr, .intr5 = unimpl_intr
}; };
/* /*