aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/rtas_pci.c
diff options
context:
space:
mode:
authorGravatar Christophe Leroy <christophe.leroy@csgroup.eu> 2022-03-08 20:20:25 +0100
committerGravatar Michael Ellerman <mpe@ellerman.id.au> 2022-05-08 22:15:40 +1000
commite6f6390ab7b9d649c13de2c8a591bce61a10ec3b (patch)
treeee30a6a078d92e92debb93897395ad3d291875dc /arch/powerpc/kernel/rtas_pci.c
parentpowerpc: Remove asm/prom.h from all files that don't need it (diff)
downloadlinux-e6f6390ab7b9d649c13de2c8a591bce61a10ec3b.tar.gz
linux-e6f6390ab7b9d649c13de2c8a591bce61a10ec3b.tar.bz2
linux-e6f6390ab7b9d649c13de2c8a591bce61a10ec3b.zip
powerpc: Add missing headers
Don't inherit headers "by chances" from asm/prom.h, asm/mpc52xx.h, asm/pci.h etc... Include the needed headers, and remove asm/prom.h when it was needed exclusively for pulling necessary headers. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/be8bdc934d152a7d8ee8d1a840d5596e2f7d85e0.1646767214.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
-rw-r--r--arch/powerpc/kernel/rtas_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c
index 781c1869902e..5a2f5ea3b054 100644
--- a/arch/powerpc/kernel/rtas_pci.c
+++ b/arch/powerpc/kernel/rtas_pci.c
@@ -14,10 +14,11 @@
#include <linux/string.h>
#include <linux/init.h>
#include <linux/pgtable.h>
+#include <linux/of_address.h>
+#include <linux/of_fdt.h>
#include <asm/io.h>
#include <asm/irq.h>
-#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/iommu.h>