Commit e3ef4d69 authored by Zong Li's avatar Zong Li Committed by 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: default avatarZong Li <zong.li@sifive.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 79b1feba
...@@ -517,7 +517,7 @@ void mark_rodata_ro(void) ...@@ -517,7 +517,7 @@ void mark_rodata_ro(void)
} }
#endif #endif
void __init resource_init(void) static void __init resource_init(void)
{ {
struct memblock_region *region; struct memblock_region *region;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment