diff options
author | jkim <jkim@FreeBSD.org> | 2010-11-10 18:50:12 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-11-10 18:50:12 +0000 |
commit | d6fa755921a93be58009125a64cd5eae55bb364b (patch) | |
tree | 2cadc89222a2ab98f91b899cbf28ecf00ececf81 /sys/dev/acpica/acpivar.h | |
parent | 97e5fb8f25fa0bd55693c0916ebfa0857913d17d (diff) | |
download | FreeBSD-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.h | 2 |
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 * |