Use CFATTACH_DECL().

This commit is contained in:
thorpej 2002-10-02 02:14:45 +00:00
parent 0dac35b547
commit 66db35f9ab
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: adv_isa.c,v 1.6 2002/09/27 20:38:14 thorpej Exp $ */
/* $NetBSD: adv_isa.c,v 1.7 2002/10/02 02:14:45 thorpej Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: adv_isa.c,v 1.6 2002/09/27 20:38:14 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: adv_isa.c,v 1.7 2002/10/02 02:14:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -104,10 +104,8 @@ static int asc_ioport[ASC_IOADR_TABLE_MAX_IX] =
int adv_isa_probe __P((struct device *, struct cfdata *, void *));
void adv_isa_attach __P((struct device *, struct device *, void *));
const struct cfattach adv_isa_ca =
{
sizeof(ASC_SOFTC), adv_isa_probe, adv_isa_attach
};
CFATTACH_DECL(adv_isa, sizeof(ASC_SOFTC),
adv_isa_probe, adv_isa_attach, NULL, NULL);
/******************************************************************************/