diff --git a/sys/dev/acpi/acpi_apm.c b/sys/dev/acpi/acpi_apm.c index e9d2f4c93fc0..4b86f1820c0c 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 -__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 #include @@ -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 f1c2cf6b749a..23c6fb636357 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.