From 11e741098be9fb63cf55558871f9d829f4e21548 Mon Sep 17 00:00:00 2001 From: kurt Date: Thu, 28 Jan 2021 01:48:54 +0000 Subject: [PATCH] Rename bNumInterface to bNumInterfaces to fix build on arm64. --- sys/dev/usb/dwc2/dwc2.c | 4 ++-- 1 file 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, -- 2.20.1