aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/controller/dwc3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/dwc3.h b/sys/dev/usb/controller/dwc3.h
index f34ceb5d04ac..7153f9abf0df 100644
--- a/sys/dev/usb/controller/dwc3.h
+++ b/sys/dev/usb/controller/dwc3.h
@@ -92,8 +92,8 @@
#define DWC3_GUSB3PIPECTL0_PHYSOFTRST (1 << 31)
#define DWC3_GUSB3PIPECTL0_DELAYP1TRANS (1 << 18)
-#define DWC3_GTXFIFOSIZ(x) (0xc300 + 0x4 * x)
-#define DWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * x)
+#define DWC3_GTXFIFOSIZ(x) (0xc300 + 0x4 * (x))
+#define DWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * (x))
#define DWC3_GEVNTADRLO0 0xc400
#define DWC3_GEVNTADRHI0 0xc404
#define DWC3_GEVNTSIZ0 0xc408