summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-02-16 20:14:30 +0000
committerriastradh <riastradh@NetBSD.org>2022-02-16 20:14:30 +0000
commit47da93ed7e7693b86e1d3abea273a77baf17e63d (patch)
tree3d548790dd2137873ec7d43482b268605ad2133e /sys/dev
parent0d6928c9160a0b7476475e71b92c85dcbb851d0e (diff)
sys: Include files.acpica unconditionally.
This way acpica.h always exists unconditionally, so MI code can be conditional on NACPICA. It is not great to have such conditionals, but it's better to have #include "acpica.h" #ifdef NACPICA > 0 than to have #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) #include "acpica.h" #endif #ifdef NACPICA > 0 and we can still grep for NACPICA to find places that could be factored better.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/files.acpi4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/acpi/files.acpi b/sys/dev/acpi/files.acpi
index dc1f36fb8f6..32142132da4 100644
--- a/sys/dev/acpi/files.acpi
+++ b/sys/dev/acpi/files.acpi
@@ -1,6 +1,4 @@
-# $NetBSD: files.acpi,v 1.123 2022/01/09 15:05:16 jmcneill Exp $
-
-include "dev/acpi/acpica/files.acpica"
+# $NetBSD: files.acpi,v 1.124 2022/02/16 20:14:30 riastradh Exp $
defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT