From: Jiaxun Yang Date: Tue, 7 May 2024 18:51:20 +0000 (+0100) Subject: MIPS: Loongson64: Include bootinfo.h in dma.c X-Git-Tag: v6.11-rc1~95^2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40a48dd3bb85bcd795d37ef8129af7eca978d669;p=thirdparty%2Flinux.git MIPS: Loongson64: Include bootinfo.h in dma.c dma.c defined function plat_swiotlb_setup, which is declared in bootinfo.h. Fixes warning: arch/mips/loongson64/dma.c:25:13: warning: no previous prototype for ‘plat_swiotlb_setup’ [-Wmissing-prototypes] 25 | void __init plat_swiotlb_setup(void) | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Jiaxun Yang Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/loongson64/dma.c b/arch/mips/loongson64/dma.c index 8220a1bc0db64..52801442ea86c 100644 --- a/arch/mips/loongson64/dma.c +++ b/arch/mips/loongson64/dma.c @@ -2,6 +2,7 @@ #include #include #include +#include #include dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)