git: fc901e984e1d - main - bcm2838_xhci: Need to generate ofw_bus_if.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 12 Apr 2024 01:04:47 UTC
The branch main has been updated by imp:

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

commit fc901e984e1de4e2d62db7569fb7a0a2916b2aae
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-04-12 01:00:45 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-12 01:02:44 +0000

    bcm2838_xhci: Need to generate ofw_bus_if.h
    
    Add ofw_bus_if.h to SRCS so that this will always be generated so this
    can build standalone, or when FDT isn't in the kernel.
    
    Fixes: ac83063d37e5e92ad048cc4ed958654c02103f74 (for LINT-ACPI)
    Sponsored by:           Netflix
---
 sys/modules/usb/bcm2838_xhci/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/usb/bcm2838_xhci/Makefile b/sys/modules/usb/bcm2838_xhci/Makefile
index 3c90b4c8b32c..cbea037c9351 100644
--- a/sys/modules/usb/bcm2838_xhci/Makefile
+++ b/sys/modules/usb/bcm2838_xhci/Makefile
@@ -7,6 +7,6 @@ S=	${SRCTOP}/sys
 .PATH: $S/arm/broadcom/bcm2835
 
 KMOD=	bcm2838_xhci
-SRCS=	bcm2838_xhci.c
+SRCS=	bcm2838_xhci.c ofw_bus_if.h
 
 .include <bsd.kmod.mk>