summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-05-24 07:35:10 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-24 12:44:30 +0200
commit14554d92c1c5a127dd0dab8fce8f08bf70d8b39b (patch)
tree433c90d6008b50ff6199d1bb335d07c30f3dc229
parentpowerpc/powernv/pci: Drop VF MPS fixup (diff)
downloadlinux-14554d92c1c5a127dd0dab8fce8f08bf70d8b39b.tar.xz
linux-14554d92c1c5a127dd0dab8fce8f08bf70d8b39b.zip
powerpc/xics: Include missing header
Include of_adresses.h to get of_iomap() prototype. Fixes: 86c38fec69a4 ("powerpc: Remove asm/prom.h from all files that don't need it") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f20a14be1a29fa0a9ebcfc5ebf05eb69c5120d10.1653370502.git.christophe.leroy@csgroup.eu
-rw-r--r--arch/powerpc/sysdev/xics/ics-native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/xics/ics-native.c b/arch/powerpc/sysdev/xics/ics-native.c
index e33b77da861e..112c8a1e8159 100644
--- a/arch/powerpc/sysdev/xics/ics-native.c
+++ b/arch/powerpc/sysdev/xics/ics-native.c
@@ -15,6 +15,7 @@
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/of.h>
+#include <linux/of_address.h>
#include <linux/spinlock.h>
#include <linux/msi.h>
#include <linux/list.h>