aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-07-08 09:11:07 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-07-28 16:22:12 +1000
commit4d5c5bad51935482437528f7fa4dffdcb3330d8b (patch)
tree0e897f39bc384b8b8676528a507a49062504267b /arch/powerpc/sysdev
parentEDAC/mpc85xx: Include required of headers directly (diff)
downloadlinux-dev-4d5c5bad51935482437528f7fa4dffdcb3330d8b.tar.xz
linux-dev-4d5c5bad51935482437528f7fa4dffdcb3330d8b.zip
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
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/of_rtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/of_rtc.c b/arch/powerpc/sysdev/of_rtc.c
index 1f408d34a6a7..420f949b7485 100644
--- a/arch/powerpc/sysdev/of_rtc.c
+++ b/arch/powerpc/sysdev/of_rtc.c
@@ -11,6 +11,8 @@
#include <linux/of_platform.h>
#include <linux/slab.h>
+#include <asm/prom.h>
+
static __initdata struct {
const char *compatible;
char *plat_name;