diff options
| author | mlelstv <mlelstv@NetBSD.org> | 2015-04-26 15:15:19 +0000 |
|---|---|---|
| committer | mlelstv <mlelstv@NetBSD.org> | 2015-04-26 15:15:19 +0000 |
| commit | 8fbc729d5944c7b69e2be67b2181444bf87bd94c (patch) | |
| tree | 42aa53990f3ff8a99a29a233c700310944b66e7f /sys/dev/raidframe | |
| parent | efd88bac79fa009f6c8cfa7399bc126fa23723fb (diff) | |
Use C99-style initializers for struct dkdriver.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 05aba44565d..67f14c8adcf 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.322 2015/01/03 11:48:04 prlw1 Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.323 2015/04/26 15:15:20 mlelstv 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.322 2015/01/03 11:48:04 prlw1 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.323 2015/04/26 15:15:20 mlelstv Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -230,7 +230,10 @@ const struct cdevsw raid_cdevsw = { .d_flag = D_DISK }; -static struct dkdriver rf_dkdriver = { raidstrategy, minphys }; +static struct dkdriver rf_dkdriver = { + .d_strategy = raidstrategy, + .d_minphys = minphys +}; struct raid_softc { device_t sc_dev; |
