git: 175a584e501e - main - usb: dwc3: add <sys/mutex.h>
- Reply: Kyle Evans : "Re: git: 175a584e501e - main - usb: dwc3: add <sys/mutex.h>"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Mar 2023 20:01:44 UTC
The branch main has been updated by joerg:
URL: https://cgit.FreeBSD.org/src/commit/?id=175a584e501e19c90fd2241c505d1797de603a5c
commit 175a584e501e19c90fd2241c505d1797de603a5c
Author: Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2023-03-08 19:59:29 +0000
Commit: Joerg Wunsch <joerg@FreeBSD.org>
CommitDate: 2023-03-08 19:59:29 +0000
usb: dwc3: add <sys/mutex.h>
Commit 5e54bb1ea9e90 added USB_BUS_LOCK/USB_BUS_UNLOCK. They, in
consequence, require mutexes so <sys/mutex.h> is needed.
---
sys/dev/usb/controller/dwc3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/usb/controller/dwc3.c b/sys/dev/usb/controller/dwc3.c
index dc5c90df0d72..2f607e19248d 100644
--- a/sys/dev/usb/controller/dwc3.c
+++ b/sys/dev/usb/controller/dwc3.c
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <sys/condvar.h>
#include <sys/kernel.h>
#include <sys/module.h>
+#include <sys/mutex.h>
#ifdef FDT
#include <sys/gpio.h>
#endif