diff --git a/bsps/include/acpi/acpica/aclocal.h b/bsps/include/acpi/acpica/aclocal.h index c8beb6f1b8..7dba0ee65f 100644 --- a/bsps/include/acpi/acpica/aclocal.h +++ b/bsps/include/acpi/acpica/aclocal.h @@ -480,6 +480,9 @@ ACPI_STATUS (*ACPI_INTERNAL_METHOD) ( */ typedef struct acpi_name_info { +#ifdef __rtems__ + __attribute__ ((nonstring)) +#endif /* rtems */ char Name[ACPI_NAMESEG_SIZE]; UINT16 ArgumentList; UINT8 ExpectedBtypes; @@ -568,6 +571,9 @@ typedef ACPI_STATUS (*ACPI_OBJECT_CONVERTER) ( typedef struct acpi_simple_repair_info { +#ifdef __rtems__ + __attribute__ ((nonstring)) +#endif /* rtems */ char Name[ACPI_NAMESEG_SIZE]; UINT32 UnexpectedBtypes; UINT32 PackageIndex; diff --git a/bsps/shared/acpi/acpica/namespace/nsrepair2.c b/bsps/shared/acpi/acpica/namespace/nsrepair2.c index 32263828fc..cb39659812 100644 --- a/bsps/shared/acpi/acpica/namespace/nsrepair2.c +++ b/bsps/shared/acpi/acpica/namespace/nsrepair2.c @@ -169,6 +169,9 @@ ACPI_STATUS (*ACPI_REPAIR_FUNCTION) ( typedef struct acpi_repair_info { +#ifdef __rtems__ + __attribute__ ((nonstring)) +#endif /* rtems */ char Name[ACPI_NAMESEG_SIZE]; ACPI_REPAIR_FUNCTION RepairFunction;