Include the new prototype for acpi_enter_sleep_state().

This commit is contained in:
jruoho 2010-04-27 08:37:07 +00:00
parent cd8924253f
commit 20524a61c1
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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.