Re: [PATCH 2/4] MIPS: Loongson64: Include bootinfo.h in dma.c

From: Philippe Mathieu-Daudé
Date: Mon May 27 2024 - 08:33:21 EST


On 7/5/24 20:51, Jiaxun Yang wrote:
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 <jiaxun.yang@xxxxxxxxxxx>
---
arch/mips/loongson64/dma.c | 1 +
1 file changed, 1 insertion(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>