Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi define _COMPONENT and ACPI_MODULE_NAME() for AC...
details: https://anonhg.NetBSD.org/src/rev/4556aa273c85
branches: trunk
changeset: 757215:4556aa273c85
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Aug 19 18:30:33 2010 +0000
description:
define _COMPONENT and ACPI_MODULE_NAME() for ACPI_DEBUG
diffstat:
sys/dev/acpi/wb_acpi.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 8ce62cf9d9c0 -r 4556aa273c85 sys/dev/acpi/wb_acpi.c
--- a/sys/dev/acpi/wb_acpi.c Thu Aug 19 18:30:24 2010 +0000
+++ b/sys/dev/acpi/wb_acpi.c Thu Aug 19 18:30:33 2010 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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);
Home |
Main Index |
Thread Index |
Old Index