未验证 提交 e3ef4d69 编写于 作者: Z Zong Li 提交者: Palmer Dabbelt

riscv: Fix build warning for mm/init

Add static keyword for resource_init, this function is only used in this
object file.
Signed-off-by: NZong Li <zong.li@sifive.com>
Signed-off-by: NPalmer Dabbelt <palmerdabbelt@google.com>
上级 79b1feba
无相关合并请求
......@@ -517,7 +517,7 @@ void mark_rodata_ro(void)
}
#endif
void __init resource_init(void)
static void __init resource_init(void)
{
struct memblock_region *region;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部