Make this compile.

This commit is contained in:
Poul-Henning Kamp 2003-09-21 18:54:52 +00:00
parent 505d8ea4f1
commit d2f243d06a

View File

@ -242,6 +242,8 @@ acpi_button_fixed_handler(void *context)
{
struct acpi_button_softc *sc = (struct acpi_button_softc *)context;
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
if (context == NULL)
return_ACPI_STATUS (AE_BAD_PARAMETER);