git: 05150edd1e30 - stable/13 - dpaa2: Fix kernel built with ACPI_DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 20:04:20 UTC
The branch stable/13 has been updated by dsl:
URL: https://cgit.FreeBSD.org/src/commit/?id=05150edd1e303d47362bef5d25e2fd5e66de092b
commit 05150edd1e303d47362bef5d25e2fd5e66de092b
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:02:28 +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;