Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Use acpi_power_register() for consistency. No f...
details: https://anonhg.NetBSD.org/src/rev/54c8d53213bf
branches: trunk
changeset: 760623:54c8d53213bf
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jan 09 14:58:10 2011 +0000
description:
Use acpi_power_register() for consistency. No functional change.
diffstat:
sys/dev/acpi/acpi_tz.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 961c5541d81c -r 54c8d53213bf sys/dev/acpi/acpi_tz.c
--- a/sys/dev/acpi/acpi_tz.c Sun Jan 09 14:56:06 2011 +0000
+++ b/sys/dev/acpi/acpi_tz.c Sun Jan 09 14:58:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_tz.c,v 1.76 2010/10/26 04:37:33 jruoho Exp $ */
+/* $NetBSD: acpi_tz.c,v 1.77 2011/01/09 14:58:10 jruoho Exp $ */
/*
* Copyright (c) 2003 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.76 2010/10/26 04:37:33 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.77 2011/01/09 14:58:10 jruoho Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -198,6 +198,7 @@
acpitz_get_status(self);
(void)pmf_device_register(self, NULL, NULL);
+ (void)acpi_power_register(sc->sc_node->ad_handle);
(void)acpi_register_notify(sc->sc_node, acpitz_notify_handler);
callout_init(&sc->sc_callout, CALLOUT_MPSAFE);
Home |
Main Index |
Thread Index |
Old Index