diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2021-01-28 01:48:55 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2021-01-28 01:48:55 +0000 |
commit | 8c9736fcf025712cb683c936403fba4e8314e349 (patch) | |
tree | cddaf439091aa95dc72938c3666e24652cc2e996 | |
parent | d1037a0f0206db5871c60aed48701684183c060a (diff) |
Rename bNumInterface to bNumInterfaces to fix build on arm64.
-rw-r--r-- | sys/dev/usb/dwc2/dwc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/dwc2/dwc2.c b/sys/dev/usb/dwc2/dwc2.c index 3ad7dc479f4..a7ea0ff4d0d 100644 --- a/sys/dev/usb/dwc2/dwc2.c +++ b/sys/dev/usb/dwc2/dwc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2.c,v 1.52 2020/04/03 20:11:47 patrick Exp $ */ +/* $OpenBSD: dwc2.c,v 1.53 2021/01/28 01:48:54 kurt Exp $ */ /* $NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $ */ /*- @@ -643,7 +643,7 @@ STATIC const struct dwc2_config_desc dwc2_confd = { .bLength = USB_CONFIG_DESCRIPTOR_SIZE, .bDescriptorType = UDESC_CONFIG, .wTotalLength[0] = sizeof(dwc2_confd), - .bNumInterface = 1, + .bNumInterfaces = 1, .bConfigurationValue = 1, .iConfiguration = 0, .bmAttributes = UC_BUS_POWERED | UC_SELF_POWERED, |