summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/gsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/gsc.c')
-rw-r--r--sys/i386/isa/gsc.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c
index 5a94838..b435ced 100644
--- a/sys/i386/isa/gsc.c
+++ b/sys/i386/isa/gsc.c
@@ -193,19 +193,12 @@ static d_ioctl_t gscioctl;
#define CDEV_MAJOR 47
static struct cdevsw gsc_cdevsw = {
- /* open */ gscopen,
- /* close */ gscclose,
- /* read */ gscread,
- /* write */ nowrite,
- /* ioctl */ gscioctl,
- /* poll */ nopoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "gsc",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = gscopen,
+ .d_close = gscclose,
+ .d_read = gscread,
+ .d_ioctl = gscioctl,
+ .d_name = "gsc",
+ .d_maj = CDEV_MAJOR,
};
OpenPOWER on IntegriCloud