summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2007-12-11 01:54:46 +0000
committeroster <oster@NetBSD.org>2007-12-11 01:54:46 +0000
commit7f102f3ada6fc52f1cbc039725584460d8b396c3 (patch)
tree4d8d5e52e937cf7c16b9c7996377d9df990814f9 /sys/dev/raidframe
parenteded1e03241c3056566357983a22940286ca19e5 (diff)
Use CFATTACH_DECL_NEW instead of CFATTACH_DECL... ICB wisdom
is that this will fix the config_devalloc panic.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index ecd02f07a83..389c0408915 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.239 2007/12/01 18:10:48 jmcneill Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.240 2007/12/11 01:54:46 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -146,7 +146,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.239 2007/12/01 18:10:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.240 2007/12/11 01:54:46 oster Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -264,7 +264,7 @@ struct raid_softc {
int numraid = 0;
extern struct cfdriver raid_cd;
-CFATTACH_DECL(raid, sizeof(struct raid_softc),
+CFATTACH_DECL_NEW(raid, sizeof(struct raid_softc),
raid_match, raid_attach, raid_detach, NULL);
/*