Module Name: src Committed By: rjs Date: Sat Nov 24 22:17:12 UTC 2018
Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: Allow building when plcom isn't used. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/acpi/acpi_platform.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/acpi/acpi_platform.c diff -u src/sys/arch/arm/acpi/acpi_platform.c:1.6 src/sys/arch/arm/acpi/acpi_platform.c:1.7 --- src/sys/arch/arm/acpi/acpi_platform.c:1.6 Tue Oct 30 16:41:51 2018 +++ src/sys/arch/arm/acpi/acpi_platform.c Sat Nov 24 22:17:12 2018 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: acpi_platfor 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)