summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ti/if_ti.c4
-rw-r--r--sys/pci/if_ti.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index a384322..e0ac1d1 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -194,8 +194,8 @@ static d_ioctl_t ti_ioctl2;
static struct cdevsw ti_cdevsw = {
/* open */ ti_open,
/* close */ ti_close,
- /* read */ NULL,
- /* write */ NULL,
+ /* read */ noread,
+ /* write */ nowrite,
/* ioctl */ ti_ioctl2,
/* poll */ seltrue,
/* mmap */ nommap,
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index a384322..e0ac1d1 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -194,8 +194,8 @@ static d_ioctl_t ti_ioctl2;
static struct cdevsw ti_cdevsw = {
/* open */ ti_open,
/* close */ ti_close,
- /* read */ NULL,
- /* write */ NULL,
+ /* read */ noread,
+ /* write */ nowrite,
/* ioctl */ ti_ioctl2,
/* poll */ seltrue,
/* mmap */ nommap,
OpenPOWER on IntegriCloud