summaryrefslogtreecommitdiff
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index ba9ca84b96d2..e5f6cc75b01e 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -116,10 +116,19 @@ d_ioctl_t urioioctl;
#define URIO_CDEV_MAJOR 143
Static struct cdevsw urio_cdevsw = {
- urioopen, urioclose, urioread, uriowrite,
- urioioctl, nopoll, nommap, nostrategy,
- "urio", URIO_CDEV_MAJOR,nodump, nopsize,
- 0,
+ /* open */ urioopen,
+ /* close */ urioclose,
+ /* read */ urioread,
+ /* write */ uriowrite,
+ /* ioctl */ urioioctl,
+ /* poll */ nopoll,
+ /* mmap */ nommap,
+ /* strategy */ nostrategy,
+ /* name */ "urio",
+ /* maj */ URIO_CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ 0,
#if __FreeBSD_version < 500014
-1
#endif