summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-11-10 18:50:12 +0000
committerjkim <jkim@FreeBSD.org>2010-11-10 18:50:12 +0000
commitd6fa755921a93be58009125a64cd5eae55bb364b (patch)
tree2cadc89222a2ab98f91b899cbf28ecf00ececf81 /sys/dev/acpica/acpivar.h
parent97e5fb8f25fa0bd55693c0916ebfa0857913d17d (diff)
downloadFreeBSD-src-d6fa755921a93be58009125a64cd5eae55bb364b.zip
FreeBSD-src-d6fa755921a93be58009125a64cd5eae55bb364b.tar.gz
Make APM emulation look more closer to its origin. Use device_get_softc(9)
instead of hardcoding acpi(4) unit number as we have device_t for it.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 130566a..5d5f9ca 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -397,7 +397,7 @@ int acpi_device_pwr_for_sleep(device_t bus, device_t dev,
int *dstate);
/* APM emulation */
-struct apm_clone_data *acpi_apm_create_clone(struct cdev *, struct acpi_softc *);
+void acpi_apm_init(struct acpi_softc *);
/* Misc. */
static __inline struct acpi_softc *
OpenPOWER on IntegriCloud