summaryrefslogtreecommitdiffstats
path: root/sys/i4b/driver/i4b_ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/driver/i4b_ctl.c')
-rw-r--r--sys/i4b/driver/i4b_ctl.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/sys/i4b/driver/i4b_ctl.c b/sys/i4b/driver/i4b_ctl.c
index 9a2b789..4eb03c3 100644
--- a/sys/i4b/driver/i4b_ctl.c
+++ b/sys/i4b/driver/i4b_ctl.c
@@ -59,19 +59,12 @@ static d_poll_t i4bctlpoll;
#define CDEV_MAJOR 55
static struct cdevsw i4bctl_cdevsw = {
- /* open */ i4bctlopen,
- /* close */ i4bctlclose,
- /* read */ noread,
- /* write */ nowrite,
- /* ioctl */ i4bctlioctl,
- /* poll */ i4bctlpoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "i4bctl",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = i4bctlopen,
+ .d_close = i4bctlclose,
+ .d_ioctl = i4bctlioctl,
+ .d_poll = i4bctlpoll,
+ .d_name = "i4bctl",
+ .d_maj = CDEV_MAJOR,
};
static void i4bctlattach(void *);
OpenPOWER on IntegriCloud