diff options
author | phk <phk@FreeBSD.org> | 2003-03-02 18:51:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-02 18:51:46 +0000 |
commit | 9dc0ca16507608ab00871bb805a4f76b013e8e50 (patch) | |
tree | afd429f10d9020b231bb670201e9082aa3c82c10 /sys/dev/twe | |
parent | 2a2408d4ea73484842467ce7dd281478e2a8a7ee (diff) | |
download | FreeBSD-src-9dc0ca16507608ab00871bb805a4f76b013e8e50.zip FreeBSD-src-9dc0ca16507608ab00871bb805a4f76b013e8e50.tar.gz |
Use canonical format for cdevsw initialization.
Diffstat (limited to 'sys/dev/twe')
-rw-r--r-- | sys/dev/twe/twe_freebsd.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/twe/twe_freebsd.c b/sys/dev/twe/twe_freebsd.c index 7acdbad..96c9d5a 100644 --- a/sys/dev/twe/twe_freebsd.c +++ b/sys/dev/twe/twe_freebsd.c @@ -71,19 +71,19 @@ static d_ioctl_t twe_ioctl_wrapper; #define TWE_CDEV_MAJOR 146 static struct cdevsw twe_cdevsw = { - twe_open, - twe_close, - noread, - nowrite, - twe_ioctl_wrapper, - nopoll, - nommap, - nostrategy, - "twe", - TWE_CDEV_MAJOR, - nodump, - nopsize, - 0 + /* open */ twe_open, + /* close */ twe_close, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ twe_ioctl_wrapper, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "twe", + /* maj */ TWE_CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0 }; /******************************************************************************** |