diff options
| author | christos <christos@NetBSD.org> | 2015-08-20 14:40:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2015-08-20 14:40:16 +0000 |
| commit | 4bf9ea455a386e0892f874217d3a3082eedb6342 (patch) | |
| tree | a4138fff0acdcd13bbbc8dbd19e1c7b6a6273c39 /sys/dev/raidframe | |
| parent | bc1fa5ae49c6e3f742678ec902a8a3d75be8ccb9 (diff) | |
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index f06584a3bc0..83e021974db 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.324 2015/07/10 09:49:56 mrg Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.325 2015/08/20 14:40:18 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc. @@ -101,7 +101,7 @@ ***********************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.324 2015/07/10 09:49:56 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.325 2015/08/20 14:40:18 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -151,6 +151,8 @@ __KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.324 2015/07/10 09:49:56 mrg Exp #include "rf_compat50.h" #endif +#include "ioconf.h" + #ifdef DEBUG int rf_kdebug_level = 0; #define db1_printf(a) if (rf_kdebug_level > 0) printf a @@ -179,7 +181,6 @@ static void InitBP(struct buf *, struct vnode *, unsigned, struct raid_softc; static void raidinit(struct raid_softc *); -void raidattach(int); static int raid_match(device_t, cfdata_t, void *); static void raid_attach(device_t, device_t, void *); static int raid_detach(device_t, int); |
