summaryrefslogtreecommitdiff
path: root/sys/dev/usb/dwc2/dwc2_hcd.c
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-10 23:43:47 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-10 23:43:47 +0000
commit069e00b7331b5b5ed223061c254c840d7de0989a (patch)
treee821cd00cba1f6750d79dc54ae7740f56dfa7c7d /sys/dev/usb/dwc2/dwc2_hcd.c
parent7e834c8e2d6dc18f06a1e4a8372ad7914e15db1c (diff)
Adjust usb(9) API differences to at least compile.
Diffstat (limited to 'sys/dev/usb/dwc2/dwc2_hcd.c')
-rw-r--r--sys/dev/usb/dwc2/dwc2_hcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/dwc2/dwc2_hcd.c b/sys/dev/usb/dwc2/dwc2_hcd.c
index ec74246bed7..baf41d2b96d 100644
--- a/sys/dev/usb/dwc2/dwc2_hcd.c
+++ b/sys/dev/usb/dwc2/dwc2_hcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwc2_hcd.c,v 1.9 2015/02/10 23:38:13 uebayasi Exp $ */
+/* $OpenBSD: dwc2_hcd.c,v 1.10 2015/02/10 23:43:46 uebayasi Exp $ */
/* $NetBSD: dwc2_hcd.c,v 1.15 2014/11/24 10:14:14 skrll Exp $ */
/*
@@ -2316,9 +2316,9 @@ error1:
#ifdef CONFIG_USB_DWC2_TRACK_MISSED_SOFS
free(hsotg->last_frame_num_array, M_DEVBUF,
- sizeof(*hsotg->last_frame_num_array) * FRAME_NUM_ARRAY_SIZE);
+ sizeof(*hsotg->last_frame_num_array) * FRAME_NUM_ARRAY_SIZE);
free(hsotg->frame_num_array, M_DEVBUF,
- sizeof(*hsotg->frame_num_array) * FRAME_NUM_ARRAY_SIZE);
+ sizeof(*hsotg->frame_num_array) * FRAME_NUM_ARRAY_SIZE);
#endif
dev_err(hsotg->dev, "%s() FAILED, returning %d\n", __func__, retval);