Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/acpi Allow building when plcom isn't used.



details:   https://anonhg.NetBSD.org/src/rev/5cc739b36fd3
branches:  trunk
changeset: 994870:5cc739b36fd3
user:      rjs <rjs%NetBSD.org@localhost>
date:      Sat Nov 24 22:17:12 2018 +0000

description:
Allow building when plcom isn't used.

diffstat:

 sys/arch/arm/acpi/acpi_platform.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 066c990fdbc1 -r 5cc739b36fd3 sys/arch/arm/acpi/acpi_platform.c
--- a/sys/arch/arm/acpi/acpi_platform.c Sat Nov 24 22:08:53 2018 +0000
+++ b/sys/arch/arm/acpi/acpi_platform.c Sat Nov 24 22:17:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_platform.c,v 1.6 2018/10/30 16:41:51 skrll Exp $ */
+/* $NetBSD: acpi_platform.c,v 1.7 2018/11/24 22:17:12 rjs Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #include "opt_efi.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.6 2018/10/30 16:41:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.7 2018/11/24 22:17:12 rjs Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -88,7 +88,9 @@
 extern struct bus_space arm_generic_bs_tag;
 extern struct bus_space arm_generic_a4x_bs_tag;
 
+#if NPLCOM > 0
 static struct plcom_instance plcom_console;
+#endif
 
 static const struct pmap_devmap *
 acpi_platform_devmap(void)



Home | Main Index | Thread Index | Old Index