Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/isa Add missing acpi include



details:   https://anonhg.NetBSD.org/src/rev/b49b0551be8e
branches:  trunk
changeset: 1024269:b49b0551be8e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Oct 15 19:01:52 2021 +0000

description:
Add missing acpi include

diffstat:

 sys/arch/x86/isa/isa_machdep.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r dde484a57b21 -r b49b0551be8e sys/arch/x86/isa/isa_machdep.c
--- a/sys/arch/x86/isa/isa_machdep.c    Fri Oct 15 18:51:38 2021 +0000
+++ b/sys/arch/x86/isa/isa_machdep.c    Fri Oct 15 19:01:52 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.c,v 1.47 2021/10/15 18:44:53 jmcneill Exp $        */
+/*     $NetBSD: isa_machdep.c,v 1.48 2021/10/15 19:01:52 jmcneill Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.47 2021/10/15 18:44:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.48 2021/10/15 19:01:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -96,6 +96,10 @@
 #include <machine/mpbiosvar.h>
 #endif
 
+#if NACPICA > 0
+#include <dev/acpi/acpivar.h>
+#endif
+
 static int _isa_dma_may_bounce(bus_dma_tag_t, bus_dmamap_t, int, int *);
 
 struct x86_bus_dma_tag isa_bus_dma_tag = {



Home | Main Index | Thread Index | Old Index