From: Ruiqiang Hao <ruiqiang....@windriver.com> When the ACPI_MPAM option is not enabled, there will be a warning during compilation. Replace acpi_table_mpam_msc with acpi_mpam_msc_node to fix this.
In file included from drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:14: include/linux/arm_mpam.h:33:52: warning: 'struct acpi_table_mpam_msc' declared inside parameter list will not be visible outside of this definition or declaration 33 | struct acpi_table_mpam_msc *tbl_msc) | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Ruiqiang Hao <ruiqiang....@windriver.com> --- include/linux/arm_mpam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/arm_mpam.h b/include/linux/arm_mpam.h index fc950ffcc88f..b3510dd7ed9d 100644 --- a/include/linux/arm_mpam.h +++ b/include/linux/arm_mpam.h @@ -30,7 +30,7 @@ int acpi_mpam_parse_resources(struct mpam_msc *msc, int acpi_mpam_count_msc(void); #else static inline int acpi_mpam_parse_resources(struct mpam_msc *msc, - struct acpi_table_mpam_msc *tbl_msc) + struct acpi_mpam_msc_node *tbl_msc) { return -EINVAL; } -- 2.35.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13668): https://lists.yoctoproject.org/g/linux-yocto/message/13668 Mute This Topic: https://lists.yoctoproject.org/mt/104859345/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-