diff options
Diffstat (limited to 'source/include/platform/aclinux.h')
-rw-r--r-- | source/include/platform/aclinux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h index 2c520ee1a5d0..b287e4d9373f 100644 --- a/source/include/platform/aclinux.h +++ b/source/include/platform/aclinux.h @@ -287,6 +287,11 @@ #define ACPI_MSG_BIOS_ERROR KERN_ERR "ACPI BIOS Error (bug): " #define ACPI_MSG_BIOS_WARNING KERN_WARNING "ACPI BIOS Warning (bug): " +/* + * Linux wants to use designated initializers for function pointer structs. + */ +#define ACPI_STRUCT_INIT(field, value) .field = value + #else /* !__KERNEL__ */ #define ACPI_USE_STANDARD_HEADERS |