summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ufm.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-02 18:51:46 +0000
committerphk <phk@FreeBSD.org>2003-03-02 18:51:46 +0000
commit9dc0ca16507608ab00871bb805a4f76b013e8e50 (patch)
treeafd429f10d9020b231bb670201e9082aa3c82c10 /sys/dev/usb/ufm.c
parent2a2408d4ea73484842467ce7dd281478e2a8a7ee (diff)
downloadFreeBSD-src-9dc0ca16507608ab00871bb805a4f76b013e8e50.zip
FreeBSD-src-9dc0ca16507608ab00871bb805a4f76b013e8e50.tar.gz
Use canonical format for cdevsw initialization.
Diffstat (limited to 'sys/dev/usb/ufm.c')
-rw-r--r--sys/dev/usb/ufm.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c
index 5269a8d..42c7a43 100644
--- a/sys/dev/usb/ufm.c
+++ b/sys/dev/usb/ufm.c
@@ -90,10 +90,19 @@ d_ioctl_t ufmioctl;
#define UFM_CDEV_MAJOR MAJOR_AUTO
Static struct cdevsw ufm_cdevsw = {
- ufmopen, ufmclose, noread, nowrite,
- ufmioctl, nopoll, nommap, nostrategy,
- "ufm", UFM_CDEV_MAJOR, nodump, nopsize,
- 0,
+ /* open */ ufmopen,
+ /* close */ ufmclose,
+ /* read */ noread,
+ /* write */ nowrite,
+ /* ioctl */ ufmioctl,
+ /* poll */ nopoll,
+ /* mmap */ nommap,
+ /* strategy */ nostrategy,
+ /* name */ "ufm",
+ /* maj */ UFM_CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ 0,
#if (__FreeBSD_version < 500014)
-1
#endif
OpenPOWER on IntegriCloud