summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-02 18:49:26 +0000
committerphk <phk@FreeBSD.org>2003-03-02 18:49:26 +0000
commite7f1fdc8d259c2907fb2796d0ea6441fa42901f1 (patch)
tree9e4bd18658acaf632e674dbabbef1aaa59911bb6 /sys/dev/mly
parent8225d6f1418d9fe3f973938d82749e51f5ce7769 (diff)
downloadFreeBSD-src-e7f1fdc8d259c2907fb2796d0ea6441fa42901f1.zip
FreeBSD-src-e7f1fdc8d259c2907fb2796d0ea6441fa42901f1.tar.gz
Use canonical name for cdevsw initialization.
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index d9e18eb..b48af80 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
};
/********************************************************************************
OpenPOWER on IntegriCloud