powerpc: Move prom_init() out of asm-prototypes.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 11 Jun 2022 16:55:16 +0000 (18:55 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Jun 2022 01:29:49 +0000 (11:29 +1000)
commit7dc3ba0a071892ea212f90f63738fd9f81b1f638
treea755d069bd85d72c524f8d2c16b21a24a68d0841
parent113fe88eed53af08800f54a03e463636105831e0
powerpc: Move prom_init() out of asm-prototypes.h

This is the end of the work started with commit 76222808fc25 ("powerpc:
Move C prototypes out of asm-prototypes.h")

Now that asm/machdep.h doesn't include asm/setup.h anymore, there are
no conflicts anymore with the function prom_init() defined in
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.o

So we can move it to asm/setup.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e111e4f0addb0fa810d5f6a71d3b8e62c0b53492.1654966508.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/include/asm/setup.h