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: Zong Li <zong.li@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Zong Li 2020-07-16 14:15:26 +08:00 committed by Palmer Dabbelt
parent 79b1feba54
commit e3ef4d6945
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View File

@ -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;