[PATCH] powerpc/xics: Include missing header

Christophe Leroy posted 1 patch 3 years, 11 months ago
arch/powerpc/sysdev/xics/ics-native.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] powerpc/xics: Include missing header
Posted by Christophe Leroy 3 years, 11 months ago
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>
---
 arch/powerpc/sysdev/xics/ics-native.c | 1 +
 1 file changed, 1 insertion(+)

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>
-- 
2.35.3
Re: [PATCH] powerpc/xics: Include missing header
Posted by Michael Ellerman 3 years, 11 months ago
On Tue, 24 May 2022 07:35:10 +0200, Christophe Leroy wrote:
> Include of_adresses.h to get of_iomap() prototype.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/xics: Include missing header
      https://git.kernel.org/powerpc/c/14554d92c1c5a127dd0dab8fce8f08bf70d8b39b

cheers