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/27a94e72d53c
branches:  trunk
changeset: 828400:27a94e72d53c
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 e80d6dad7b0d -r 27a94e72d53c 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