summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/input/ums.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/input/ums.c')
-rw-r--r--sys/dev/usb/input/ums.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c
index 9539e20..04c0a0b 100644
--- a/sys/dev/usb/input/ums.c
+++ b/sys/dev/usb/input/ums.c
@@ -312,9 +312,9 @@ static const struct usb2_config ums_config[UMS_N_TRANSFER] = {
.type = UE_INTERRUPT,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_IN,
- .mh.flags = {.pipe_bof = 1,.short_xfer_ok = 1,},
- .mh.bufsize = 0, /* use wMaxPacketSize */
- .mh.callback = &ums_intr_callback,
+ .flags = {.pipe_bof = 1,.short_xfer_ok = 1,},
+ .bufsize = 0, /* use wMaxPacketSize */
+ .callback = &ums_intr_callback,
},
};
OpenPOWER on IntegriCloud