[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240516115906.1224164-1-zhanggenjian@126.com>
Date: Thu, 16 May 2024 19:59:04 +0800
From: Genjian <zhanggenjian@....com>
To: tsbogend@...ha.franken.de,
chenhuacai@...nel.org,
jiaxun.yang@...goat.com,
ricardo@...liere.net
Cc: linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org,
Genjian Zhang <zhanggenjian@...inos.cn>,
k2ci <kernel-bot@...inos.cn>
Subject: [PATCH 1/3] MIPS: Loongson64: include asm/bootinfo.h
From: Genjian Zhang <zhanggenjian@...inos.cn>
build-warning is printed:
arch/mips/loongson64/dma.c:25:13: error: no previous prototype for ‘plat_swiotlb_setup’ [-Werror=missing-prototypes]
Include the header to fix it.
Reported-by: k2ci <kernel-bot@...inos.cn>
Signed-off-by: Genjian Zhang <zhanggenjian@...inos.cn>
---
arch/mips/loongson64/dma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/loongson64/dma.c b/arch/mips/loongson64/dma.c
index 8220a1bc0db6..5c5e524b9121 100644
--- a/arch/mips/loongson64/dma.c
+++ b/arch/mips/loongson64/dma.c
@@ -3,6 +3,7 @@
#include <linux/init.h>
#include <linux/swiotlb.h>
#include <boot_param.h>
+#include <asm/bootinfo.h>
dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)
{
--
2.25.1
Powered by blists - more mailing lists