summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/asc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/asc.c')
-rw-r--r--sys/i386/isa/asc.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c
index 875dc58..d231807 100644
--- a/sys/i386/isa/asc.c
+++ b/sys/i386/isa/asc.c
@@ -198,19 +198,13 @@ static d_poll_t ascpoll;
#define CDEV_MAJOR 71
static struct cdevsw asc_cdevsw = {
- /* open */ ascopen,
- /* close */ ascclose,
- /* read */ ascread,
- /* write */ nowrite,
- /* ioctl */ ascioctl,
- /* poll */ ascpoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "asc",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = ascopen,
+ .d_close = ascclose,
+ .d_read = ascread,
+ .d_ioctl = ascioctl,
+ .d_poll = ascpoll,
+ .d_name = "asc",
+ .d_maj = CDEV_MAJOR,
};
#define STATIC static
OpenPOWER on IntegriCloud