Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Fix build failure in i386/ALL. Again caused by ...
details: https://anonhg.NetBSD.org/src/rev/60dca6b30fd3
branches: trunk
changeset: 756466:60dca6b30fd3
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jul 18 20:20:04 2010 +0000
description:
Fix build failure in i386/ALL. Again caused by a missing _COMPONENT
declaration required for ACPI_DEBUG. Noted by cegger@ -- thanks.
diffstat:
sys/dev/acpi/acpi_cpu_cstate.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 74845f8f33d3 -r 60dca6b30fd3 sys/dev/acpi/acpi_cpu_cstate.c
--- a/sys/dev/acpi/acpi_cpu_cstate.c Sun Jul 18 13:09:04 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu_cstate.c Sun Jul 18 20:20:04 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.3 2010/07/18 13:09:04 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.4 2010/07/18 20:20:04 jruoho Exp $ */
/*-
* Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.3 2010/07/18 13:09:04 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.4 2010/07/18 20:20:04 jruoho Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -39,12 +39,16 @@
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
+#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
#include <dev/acpi/acpi_cpu.h>
#include <dev/acpi/acpi_timer.h>
#include <machine/acpi_machdep.h>
+#define _COMPONENT ACPI_BUS_COMPONENT
+ACPI_MODULE_NAME ("acpi_cpu_cstate")
+
/*
* This is AML_RESOURCE_GENERIC_REGISTER,
* included here separately for convenience.
Home |
Main Index |
Thread Index |
Old Index