git: 795e9c9b5503 - stable/14 - dpaa2: Fix kernel built with ACPI_DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 20:06:37 UTC
The branch stable/14 has been updated by dsl: URL: https://cgit.FreeBSD.org/src/commit/?id=795e9c9b55036ede124ac5821644477da757aa52 commit 795e9c9b55036ede124ac5821644477da757aa52 Author: Dmitry Salychev <dsl@FreeBSD.org> AuthorDate: 2024-11-18 21:56:11 +0000 Commit: Dmitry Salychev <dsl@FreeBSD.org> CommitDate: 2024-12-13 20:05:53 +0000 dpaa2: Fix kernel built with ACPI_DEBUG PR: 282800 Reported by: phk Tested by: bz MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D47666 (cherry picked from commit c2dd2be344fbf59cf95f6773d4b09cc7dda0f876) --- sys/dev/dpaa2/dpaa2_mc_acpi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/dpaa2/dpaa2_mc_acpi.c b/sys/dev/dpaa2/dpaa2_mc_acpi.c index 388bb764afff..75cbfcb0791f 100644 --- a/sys/dev/dpaa2/dpaa2_mc_acpi.c +++ b/sys/dev/dpaa2/dpaa2_mc_acpi.c @@ -46,6 +46,7 @@ #include <machine/resource.h> #include <contrib/dev/acpica/include/acpi.h> +#include <contrib/dev/acpica/include/accommon.h> #include <dev/acpica/acpivar.h> #include "acpi_bus_if.h" @@ -56,6 +57,9 @@ #include "dpaa2_mc.h" #include "dpaa2_mc_if.h" +#define _COMPONENT ACPI_BUS +ACPI_MODULE_NAME("DPAA2_MC") + struct dpaa2_mac_dev_softc { int uid; uint64_t reg;