summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ufm.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-03-02 18:51:46 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-03-02 18:51:46 +0000
commit95e4359c8eeb5f4679bc20a182e99c80274f45db (patch)
treeafd429f10d9020b231bb670201e9082aa3c82c10 /sys/dev/usb/ufm.c
parentbbaba628724b3e7b5dd84fadd52f438e850ff0a7 (diff)
Notes
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 5269a8dd867c..42c7a43fb9bc 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