summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_ccd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_ccd.c')
-rw-r--r--sys/geom/geom_ccd.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 4fe4f98..ce4030b 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -115,19 +115,11 @@ static d_ioctl_t ccdctlioctl;
#define CDEV_MAJOR 74
static struct cdevsw ccdctl_cdevsw = {
- /* open */ nullopen,
- /* close */ nullclose,
- /* read */ noread,
- /* write */ nowrite,
- /* ioctl */ ccdctlioctl,
- /* poll */ nopoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "ccdctl",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0
+ .d_open = nullopen,
+ .d_close = nullclose,
+ .d_ioctl = ccdctlioctl,
+ .d_name = "ccdctl",
+ .d_maj = CDEV_MAJOR,
};
static LIST_HEAD(, ccd_s) ccd_softc_list =
OpenPOWER on IntegriCloud