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/d63d5709eab8
branches:  trunk
changeset: 989512:d63d5709eab8
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 07e95871a081 -r d63d5709eab8 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