diff options
Diffstat (limited to 'sys/i386/isa/ctx.c')
-rw-r--r-- | sys/i386/isa/ctx.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c index e70c40e..659c27b 100644 --- a/sys/i386/isa/ctx.c +++ b/sys/i386/isa/ctx.c @@ -151,19 +151,13 @@ static d_ioctl_t ctxioctl; #define CDEV_MAJOR 40 static struct cdevsw ctx_cdevsw = { - /* open */ ctxopen, - /* close */ ctxclose, - /* read */ ctxread, - /* write */ ctxwrite, - /* ioctl */ ctxioctl, - /* poll */ nopoll, - /* mmap */ nommap, - /* strategy */ nostrategy, - /* name */ "ctx", - /* maj */ CDEV_MAJOR, - /* dump */ nodump, - /* psize */ nopsize, - /* flags */ 0, + .d_open = ctxopen, + .d_close = ctxclose, + .d_read = ctxread, + .d_write = ctxwrite, + .d_ioctl = ctxioctl, + .d_name = "ctx", + .d_maj = CDEV_MAJOR, }; |