[ACPICA]
[reactos.git] / reactos / drivers / bus / acpi / acpica / include / platform / aclinux.h
index 5bfa34d..2e92a85 100644 (file)
 #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