[PATCH 15/21] powerpc: Add missing prototype for MMU_setup
From: Mathieu Malaterre
Date: Sun Feb 25 2018 - 12:25:22 EST
Add a function declaration for MMU_setup at the beginning of the file to
fix a warning (treated as error in W=1):
CC kernel/sys.o
arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for âMMU_setupâ [-Werror=missing-prototypes]
void __init MMU_setup(void)
^~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>
---
arch/powerpc/mm/init_32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 6419b33ca309..e88bcad9a63b 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -79,6 +79,7 @@ EXPORT_SYMBOL(agp_special_page);
#endif
void MMU_init(void);
+void __init MMU_setup(void);
/*
* this tells the system to map all of ram with the segregs
--
2.11.0