summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_freebsdkintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/raidframe/rf_freebsdkintf.c')
-rw-r--r--sys/dev/raidframe/rf_freebsdkintf.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c
index 754ab51..6e1f407 100644
--- a/sys/dev/raidframe/rf_freebsdkintf.c
+++ b/sys/dev/raidframe/rf_freebsdkintf.c
@@ -215,19 +215,11 @@ d_close_t raidctlclose;
d_ioctl_t raidctlioctl;
static struct cdevsw raidctl_cdevsw = {
- /* open */ raidctlopen,
- /* close */ raidctlclose,
- /* read */ noread,
- /* write */ nowrite,
- /* ioctl */ raidctlioctl,
- /* poll */ nopoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "raidctl",
- /* maj */ 201,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = raidctlopen,
+ .d_close = raidctlclose,
+ .d_ioctl = raidctlioctl,
+ .d_name = "raidctl",
+ .d_maj = 201,
};
/*
OpenPOWER on IntegriCloud