powerpc/e500: Add missing prototype for 'relocate_init'
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 18 Feb 2023 09:28:50 +0000 (10:28 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Feb 2023 06:04:01 +0000 (17:04 +1100)
commit6f8675a6b06dabe62015c6747df5e957cd159338
tree8fc5dd07c9b61762f758e8ea6efd79187750004b
parent38d73b671a817328334f2a70a23fed4d1f4a952c
powerpc/e500: Add missing prototype for 'relocate_init'

Kernel test robot reports:

 arch/powerpc/mm/nohash/e500.c:314:21: warning: no previous prototype for 'relocate_init' [-Wmissing-prototypes]
     314 | notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
         |                     ^~~~~~~~~~~~~

Add it in mm/mmu_decl.h, close to associated is_second_reloc
variable declaration.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/oe-kbuild-all/202302181136.wgyCKUcs-lkp@intel.com/
Link: https://lore.kernel.org/r/ac9107acf24135e1a07e8f84d2090572d43e3fe4.1676712510.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/mmu_decl.h