diff options
| author | jruoho <jruoho@NetBSD.org> | 2010-04-27 08:37:07 +0000 |
|---|---|---|
| committer | jruoho <jruoho@NetBSD.org> | 2010-04-27 08:37:07 +0000 |
| commit | 20524a61c1fd56ffcdcf9bc7ce5bbf8697f3d80f (patch) | |
| tree | 0d8dcf877475789e57f6c904a2453cfe2e7ee472 /sys/dev/acpi | |
| parent | cd8924253f354fd0859c8fd0704f1dd8c796253a (diff) | |
Include the new prototype for acpi_enter_sleep_state().
Diffstat (limited to 'sys/dev/acpi')
| -rw-r--r-- | sys/dev/acpi/acpi_apm.c | 6 | ||||
| -rw-r--r-- | sys/dev/acpi/acpivar.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpi_apm.c b/sys/dev/acpi/acpi_apm.c index e9d2f4c93fc..4b86f1820c0 100644 --- a/sys/dev/acpi/acpi_apm.c +++ b/sys/dev/acpi/acpi_apm.c @@ -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 capabilities = ACPI_APM_DEFAULT_CAP; 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 --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index f1c2cf6b749..23c6fb63635 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -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 @@ struct acpi_drq *acpi_res_drq(struct acpi_resources *, int); /* * Sleep state transition. */ -ACPI_STATUS acpi_enter_sleep_state(struct acpi_softc *, int); +void acpi_enter_sleep_state(struct acpi_softc *, int); /* * Quirk handling. |
