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; fix ACP...
details: https://anonhg.NetBSD.org/src/rev/2ef1f75d9931
branches: trunk
changeset: 358099:2ef1f75d9931
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Dec 11 08:40:45 2017 +0000
description:
Define _COMPONENT and ACPI_MODULE_NAME; fix ACPI_DEBUG kernels
diffstat:
sys/dev/acpi/acpi_i2c.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a7a15e067666 -r 2ef1f75d9931 sys/dev/acpi/acpi_i2c.c
--- a/sys/dev/acpi/acpi_i2c.c Mon Dec 11 05:47:18 2017 +0000
+++ b/sys/dev/acpi/acpi_i2c.c Mon Dec 11 08:40:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_i2c.c,v 1.1 2017/12/10 16:51:30 bouyer Exp $ */
+/* $NetBSD: acpi_i2c.c,v 1.2 2017/12/11 08:40:45 bouyer Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -30,12 +30,15 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_i2c.c,v 1.1 2017/12/10 16:51:30 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_i2c.c,v 1.2 2017/12/11 08:40:45 bouyer Exp $");
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
#include <dev/acpi/acpi_i2c.h>
+#define _COMPONENT ACPI_BUS_COMPONENT
+ACPI_MODULE_NAME ("acpi_i2c")
+
static void
acpi_enter_i2c_hid(struct acpi_devnode *devnode, prop_dictionary_t dev)
{
Home |
Main Index |
Thread Index |
Old Index