aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_dev.c')
-rw-r--r--sys/dev/usb/usb_dev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c
index c58c3b5f64d5..293b0c72587f 100644
--- a/sys/dev/usb/usb_dev.c
+++ b/sys/dev/usb/usb_dev.c
@@ -80,8 +80,7 @@
#include <sys/filio.h>
#include <sys/ttycom.h>
#include <sys/syscallsubr.h>
-
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
#endif /* USB_GLOBAL_INCLUDE_FILE */
#if USB_HAVE_UGEN
@@ -1228,13 +1227,13 @@ usb_filter_read(struct knote *kn, long hint)
return (m ? 1 : 0);
}
-static struct filterops usb_filtops_write = {
+static const struct filterops usb_filtops_write = {
.f_isfd = 1,
.f_detach = usb_filter_detach,
.f_event = usb_filter_write,
};
-static struct filterops usb_filtops_read = {
+static const struct filterops usb_filtops_read = {
.f_isfd = 1,
.f_detach = usb_filter_detach,
.f_event = usb_filter_read,