Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Include the new prototype for acpi_enter_sleep_...



details:   https://anonhg.NetBSD.org/src/rev/bd438684eee6
branches:  trunk
changeset: 754311:bd438684eee6
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Apr 27 08:37:07 2010 +0000

description:
Include the new prototype for acpi_enter_sleep_state().

diffstat:

 sys/dev/acpi/acpi_apm.c |  6 +++---
 sys/dev/acpi/acpivar.h  |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 3e9c7d9e73e1 -r bd438684eee6 sys/dev/acpi/acpi_apm.c
--- a/sys/dev/acpi/acpi_apm.c   Tue Apr 27 08:36:06 2010 +0000
+++ b/sys/dev/acpi/acpi_apm.c   Tue Apr 27 08:37:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_apm.c,v 1.18 2010/04/12 06:56:19 skrll Exp $      */
+/*     $NetBSD: acpi_apm.c,v 1.19 2010/04/27 08:37:07 jruoho Exp $     */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_apm.c,v 1.18 2010/04/12 06:56:19 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_apm.c,v 1.19 2010/04/27 08:37:07 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -97,7 +97,7 @@
 static int acpiapm_node = CTL_EOL, standby_node = CTL_EOL;
 
 struct acpi_softc;
-extern ACPI_STATUS acpi_enter_sleep_state(struct acpi_softc *, int);
+extern void acpi_enter_sleep_state(struct acpi_softc *, int);
 static int acpiapm_match(device_t, cfdata_t , void *);
 static void acpiapm_attach(device_t, device_t, void *);
 static int sysctl_state(SYSCTLFN_PROTO);
diff -r 3e9c7d9e73e1 -r bd438684eee6 sys/dev/acpi/acpivar.h
--- a/sys/dev/acpi/acpivar.h    Tue Apr 27 08:36:06 2010 +0000
+++ b/sys/dev/acpi/acpivar.h    Tue Apr 27 08:37:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpivar.h,v 1.52 2010/04/22 18:53:23 jruoho Exp $      */
+/*     $NetBSD: acpivar.h,v 1.53 2010/04/27 08:37:07 jruoho Exp $      */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -294,7 +294,7 @@
 /*
  * Sleep state transition.
  */
-ACPI_STATUS            acpi_enter_sleep_state(struct acpi_softc *, int);
+void                   acpi_enter_sleep_state(struct acpi_softc *, int);
 
 /*
  * Quirk handling.



Home | Main Index | Thread Index | Old Index