summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp/snp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/snp/snp.c')
-rw-r--r--sys/dev/snp/snp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 6544810..3d4b2d4 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -52,8 +52,14 @@ static struct cdevsw snp_cdevsw = {
};
static struct linesw snpdisc = {
- ttyopen, snplclose, ttread, snplwrite,
- l_nullioctl, ttyinput, ttstart, ttymodem
+ .l_open = ttyopen,
+ .l_close = snplclose,
+ .l_read = ttread,
+ .l_write = snplwrite,
+ .l_ioctl = l_nullioctl,
+ .l_rint = ttyinput,
+ .l_start = ttstart,
+ .l_modem = ttymodem
};
/*
OpenPOWER on IntegriCloud