diff options
author | nyan <nyan@FreeBSD.org> | 2006-06-06 15:20:06 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2006-06-06 15:20:06 +0000 |
commit | a723c39e7d082e551c896d7d7b44aa30b3493965 (patch) | |
tree | 85a74e645a40c40729ce706be4ce66f118f5871c /sys/dev/acpi_support | |
parent | 86b6bb04bb29835d037c6da592b44832ed26eb95 (diff) | |
download | FreeBSD-src-a723c39e7d082e551c896d7d7b44aa30b3493965.zip FreeBSD-src-a723c39e7d082e551c896d7d7b44aa30b3493965.tar.gz |
Use the acpi_event_sleep_button_sleep() function instead of
the acpi_SetSleepState().
Submitted by: njl
Diffstat (limited to 'sys/dev/acpi_support')
-rw-r--r-- | sys/dev/acpi_support/acpi_panasonic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpi_support/acpi_panasonic.c b/sys/dev/acpi_support/acpi_panasonic.c index e802cb2..14ddd83 100644 --- a/sys/dev/acpi_support/acpi_panasonic.c +++ b/sys/dev/acpi_support/acpi_panasonic.c @@ -455,7 +455,7 @@ acpi_panasonic_hkey_action(struct acpi_panasonic_softc *sc, ACPI_HANDLE h, break; case 7: /* Suspend. */ - acpi_SetSleepState(acpi_sc, ACPI_STATE_S3); + acpi_event_sleep_button_sleep(acpi_sc); break; } } |