powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 8 Jul 2022 07:11:07 +0000 (09:11 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:12 +0000 (16:22 +1000)
commit4d5c5bad51935482437528f7fa4dffdcb3330d8b
tree0e897f39bc384b8b8676528a507a49062504267b
parent4177ab2283dcd98735572ebda56b9d479dc1d7f2
powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h

asm/pci.h and asm/mpc52xx.h don't need asm/prom.h

Declare struct device_node locally to avoid including of.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Add missing include of prom.h to of_rtc.c]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/cf5243343e2364c2b40f22ee5ad9a6e2453d1121.1657264228.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/mpc52xx.h
arch/powerpc/include/asm/pci.h
arch/powerpc/kernel/prom.c
arch/powerpc/sysdev/of_rtc.c