From c2523c3f959369ae6fecf50126b29239fb14f0f4 Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Wed, 18 Sep 2013 08:34:22 -0700 Subject: [PATCH] Fix a macro for the hardware-reduced case This fix repairs a version of a macro that is used for the hardware reduced case only. It adds a return statement to the macro definition so that the AcpiSrc translation will not completely delete the second line of the macro because it thinks that it is an empty block. It actually clarifies the use of the macro anyway. --- source/include/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/include/acpixf.h b/source/include/acpixf.h index 0d161a7f5..4173ac312 100644 --- a/source/include/acpixf.h +++ b/source/include/acpixf.h @@ -178,7 +178,7 @@ extern UINT8 AcpiGbl_DisableSsdtTableLoad; static ACPI_INLINE Prototype {return(AE_OK);} #define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \ - static ACPI_INLINE Prototype {} + static ACPI_INLINE Prototype {return;} #endif /* !ACPI_REDUCED_HARDWARE */