mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix the ACPI_DEBUG case.
Reported by: Larry Rosenman <ler@lerctr.org> PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
This commit is contained in:
parent
95aad59a53
commit
a6a1d01594
1 changed files with 2 additions and 2 deletions
|
|
@ -242,12 +242,12 @@ acpi_button_fixed_handler(void *context)
|
|||
{
|
||||
struct acpi_button_softc *sc = (struct acpi_button_softc *)context;
|
||||
|
||||
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
|
||||
ACPI_FUNCTION_TRACE_PTR((char *)(uintptr_t)__func__, context);
|
||||
|
||||
if (context == NULL)
|
||||
return_ACPI_STATUS (AE_BAD_PARAMETER);
|
||||
|
||||
acpi_button_notify_handler(sc->button_handle,
|
||||
ACPI_NOTIFY_BUTTON_PRESSED_FOR_SLEEP, sc);
|
||||
return_VALUE (AE_OK);
|
||||
return_ACPI_STATUS (AE_OK);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue