diff --git a/sys/dev/acpi/acpica/Subsystem/actypes.h b/sys/dev/acpi/acpica/Subsystem/actypes.h index 2bf6e689502e..03c6ee07b1e2 100644 --- a/sys/dev/acpi/acpica/Subsystem/actypes.h +++ b/sys/dev/acpi/acpica/Subsystem/actypes.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actypes.h - Common data types for the entire ACPI subsystem - * $Revision: 1.3 $ + * $Revision: 1.4 $ * *****************************************************************************/ @@ -1296,7 +1296,7 @@ typedef struct AcpiResource #define ACPI_SIZEOF_RESOURCE(Type) (ACPI_RESOURCE_LENGTH_NO_DATA + sizeof (Type)) -#define ACPI_NEXT_RESOURCE(Res) (ACPI_RESOURCE *)((UINT8 *) Res + Res->length) +#define ACPI_NEXT_RESOURCE(Res) (ACPI_RESOURCE *)((UINT8 *) Res + Res->Length) #ifdef _HW_ALIGNMENT_SUPPORT #define ACPI_ALIGN_RESOURCE_SIZE(Length) (Length)