aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Salychev <dsl@FreeBSD.org>2024-11-18 21:56:11 +0000
committerDmitry Salychev <dsl@FreeBSD.org>2024-11-19 15:49:04 +0000
commitc2dd2be344fbf59cf95f6773d4b09cc7dda0f876 (patch)
tree3af6e176db61e7bc802442c50a0b488437b58c46
parentc7d29adcb3ce6544eb30c6b5489999d8f001cb71 (diff)
downloadsrc-c2dd2be344fbf59cf95f6773d4b09cc7dda0f876.tar.gz
src-c2dd2be344fbf59cf95f6773d4b09cc7dda0f876.zip
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
-rw-r--r--sys/dev/dpaa2/dpaa2_mc_acpi.c4
1 files changed, 4 insertions, 0 deletions
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;