]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Add missing prototypes for (early|machine)_init()
authorMathieu Malaterre <malat@debian.org>
Thu, 8 Mar 2018 11:31:59 +0000 (22:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:42 +0000 (15:50 +1100)
commit258b45e5eaf1f8fa842f5b6f46ba7616a6b5aa27
treeb6f6ffb1c69b6cdc51dd4b8acafcf5b69f6d4402
parent20cca79cfb5b2b23420f416b7e53869b5db0bc5c
powerpc/32: Add missing prototypes for (early|machine)_init()

early_init() and machine_init() have no prototype, add one in
asm-prototypes.h.

Fixes the following warnings (treated as error in W=1):
  arch/powerpc/kernel/setup_32.c:68:30: error: no previous prototype for ‘early_init’
  arch/powerpc/kernel/setup_32.c:99:21: error: no previous prototype for ‘machine_init’

Signed-off-by: Mathieu Malaterre <malat@debian.org>
[mpe: Move them to asm-prototypes.h, drop other functions]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/kernel/setup_32.c