]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbad0ebe563534a8976e4409de5a9e11aedbe0775
tree0e897f39bc384b8b8676528a507a49062504267b
parenta8a50ba89a8ee3b3f83ab5e09ab59ee37e904b6a
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