diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-10-01 18:57:48 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-10-01 18:57:48 +0000 |
| commit | c1077f220deda2004ccd4c0fb828fc8a3ccba09b (patch) | |
| tree | e7db9ef8172e3f81531ec52ce9daeee13bf41061 /sys/arch/sparc/dev/tctrl.c | |
| parent | 34c3944c080d08c98b4aff70e888b76595f3ef20 (diff) | |
Use CFATTACH_DECL().
Diffstat (limited to 'sys/arch/sparc/dev/tctrl.c')
| -rw-r--r-- | sys/arch/sparc/dev/tctrl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/tctrl.c b/sys/arch/sparc/dev/tctrl.c index 4ab3339cb95..7da80f26f81 100644 --- a/sys/arch/sparc/dev/tctrl.c +++ b/sys/arch/sparc/dev/tctrl.c @@ -1,4 +1,4 @@ -/* $NetBSD: tctrl.c,v 1.16 2002/09/27 20:35:53 thorpej Exp $ */ +/* $NetBSD: tctrl.c,v 1.17 2002/10/01 18:57:53 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -148,9 +148,8 @@ static int tctrl_apm_record_event __P((struct tctrl_softc *sc, u_int event_type)); static void tctrl_init_lcd __P((void)); -const struct cfattach tctrl_ca = { - sizeof(struct tctrl_softc), tctrl_match, tctrl_attach -}; +CFATTACH_DECL(tctrl, sizeof(struct tctrl_softc), + tctrl_match, tctrl_attach, NULL, NULL) extern struct cfdriver tctrl_cd; /* XXX wtf is this? see i386/apm.c */ |
