summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb2/include/usb2_ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb2/include/usb2_ioctl.h b/sys/dev/usb2/include/usb2_ioctl.h
index a4ec979..eeafd27 100644
--- a/sys/dev/usb2/include/usb2_ioctl.h
+++ b/sys/dev/usb2/include/usb2_ioctl.h
@@ -223,7 +223,7 @@ struct usb2_gen_quirk {
#define USB_DEVICEENUMERATE _IOW ('U', 6, int)
/* Generic HID device */
-#define USB_GET_REPORT_DESC _IOR ('U', 21, struct usb2_gen_descriptor)
+#define USB_GET_REPORT_DESC _IOWR('U', 21, struct usb2_gen_descriptor)
#define USB_SET_IMMED _IOW ('U', 22, int)
#define USB_GET_REPORT _IOWR('U', 23, struct usb2_gen_descriptor)
#define USB_SET_REPORT _IOW ('U', 24, struct usb2_gen_descriptor)
OpenPOWER on IntegriCloud