diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-02 18:49:26 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-02 18:49:26 +0000 |
commit | 7e5b777f9805cd2393f88abba0fa2d2e00fcbd71 (patch) | |
tree | 9e4bd18658acaf632e674dbabbef1aaa59911bb6 /sys/dev/mly | |
parent | 6fee404efa0eec8f2b592173518d5f9ab685c81e (diff) | |
download | src-7e5b777f9805cd2393f88abba0fa2d2e00fcbd71.tar.gz src-7e5b777f9805cd2393f88abba0fa2d2e00fcbd71.zip |
Use canonical name for cdevsw initialization.
Notes
Notes:
svn path=/head/; revision=111751
Diffstat (limited to 'sys/dev/mly')
-rw-r--r-- | sys/dev/mly/mly.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index d9e18eb058d2..b48af8063dc8 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -153,19 +153,19 @@ DRIVER_MODULE(mly, pci, mly_pci_driver, mly_devclass, 0, 0); #define MLY_CDEV_MAJOR 158 static struct cdevsw mly_cdevsw = { - mly_user_open, - mly_user_close, - noread, - nowrite, - mly_user_ioctl, - nopoll, - nommap, - nostrategy, - "mly", - MLY_CDEV_MAJOR, - nodump, - nopsize, - 0 + /* open */ mly_user_open, + /* close */ mly_user_close, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ mly_user_ioctl, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "mly", + /* maj */ MLY_CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0 }; /******************************************************************************** |