summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/amlresrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/amlresrc.h')
-rw-r--r--drivers/acpi/acpica/amlresrc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/amlresrc.h b/drivers/acpi/acpica/amlresrc.h
index f3f834408441..334fbeee80d2 100644
--- a/drivers/acpi/acpica/amlresrc.h
+++ b/drivers/acpi/acpica/amlresrc.h
@@ -46,6 +46,8 @@
#ifndef __AMLRESRC_H
#define __AMLRESRC_H
+#pragma pack(push) /* Set default struct packing */
+
/*
* Resource descriptor tags, as defined in the ACPI specification.
* Used to symbolically reference fields within a descriptor.
@@ -449,4 +451,6 @@ union aml_resource {
u8 byte_item;
};
+#pragma pack(pop) /* Restore original struct packing */
+
#endif