git: c2dd2be344fb - main - dpaa2: Fix kernel built with ACPI_DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Nov 2024 15:49:44 UTC
The branch main has been updated by dsl:
URL: https://cgit.FreeBSD.org/src/commit/?id=c2dd2be344fbf59cf95f6773d4b09cc7dda0f876
commit c2dd2be344fbf59cf95f6773d4b09cc7dda0f876
Author: Dmitry Salychev <dsl@FreeBSD.org>
AuthorDate: 2024-11-18 21:56:11 +0000
Commit: Dmitry Salychev <dsl@FreeBSD.org>
CommitDate: 2024-11-19 15:49:04 +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
---
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 2007c18bec67..1042ea56d8cf 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;