summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-02 19:23:31 +0000
committerphk <phk@FreeBSD.org>2003-03-02 19:23:31 +0000
commit2f3dcfb876a330bc0da46bf60b7ab6ebac33f9f9 (patch)
treee02000a746895a74604e3027b910f2648c7c3602 /sys/pci
parentff24404b376ee802a4160e1f4edaa37d405149af (diff)
downloadFreeBSD-src-2f3dcfb876a330bc0da46bf60b7ab6ebac33f9f9.zip
FreeBSD-src-2f3dcfb876a330bc0da46bf60b7ab6ebac33f9f9.tar.gz
Spell noread() and nowrite() correctly (ie: not "NULL")
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_ti.c4
1 files changed, 2 insertions, 2 deletions
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