2022-05-24 14:58:27

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
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



2022-05-28 20:38:27

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc/xics: Include missing header

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