Module Name: src
Committed By: jmcneill
Date: Thu Aug 19 18:30:34 UTC 2010
Modified Files:
src/sys/dev/acpi: wb_acpi.c
Log Message:
define _COMPONENT and ACPI_MODULE_NAME() for ACPI_DEBUG
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/wb_acpi.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/dev/acpi/wb_acpi.c
diff -u src/sys/dev/acpi/wb_acpi.c:1.3 src/sys/dev/acpi/wb_acpi.c:1.4
--- src/sys/dev/acpi/wb_acpi.c:1.3 Thu Aug 19 14:59:24 2010
+++ src/sys/dev/acpi/wb_acpi.c Thu Aug 19 18:30:33 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: wb_acpi.c,v 1.3 2010/08/19 14:59:24 jmcneill Exp $ */
+/* $NetBSD: wb_acpi.c,v 1.4 2010/08/19 18:30:33 jmcneill Exp $ */
/*
* Copyright (c) 2009 Jared D. McNeill <[email protected]>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wb_acpi.c,v 1.3 2010/08/19 14:59:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wb_acpi.c,v 1.4 2010/08/19 18:30:33 jmcneill Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -41,6 +41,9 @@
#include <dev/sdmmc/sdmmcvar.h>
+#define _COMPONENT ACPI_RESOURCE_COMPONENT
+ACPI_MODULE_NAME ("wb_acpi")
+
static int wb_acpi_match(device_t, cfdata_t, void *);
static void wb_acpi_attach(device_t, device_t, void *);
static int wb_acpi_detach(device_t, int);