Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 06:57:55 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 633040b8e4df - stable/13 - usb: dwc3: add <sys/mutex.h>
Message-ID:  <202304300657.33U6vt6M071580@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=633040b8e4df0ac8608620242c78134bbda8cf29

commit 633040b8e4df0ac8608620242c78134bbda8cf29
Author:     Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2023-03-08 19:59:29 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-04-30 06:56:17 +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.
    
    (cherry picked from commit 175a584e501e19c90fd2241c505d1797de603a5c)
---
 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 b99d74625022..d9f576a3dbb7 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304300657.33U6vt6M071580>