[PATCH] powerpc/pseries/vas: Include irqdomain.h
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2021-06-25 04:54:09
There are patches in flight to break the dependency between asm/irq.h and linux/irqdomain.h, which would break compilation of vas.c because it needs the declaration of irq_create_mapping() etc. So add an explicit include of irqdomain.h to avoid that becoming a problem in future. Reported-by: Stephen Rothwell <redacted> Signed-off-by: Stephen Rothwell <redacted> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/platforms/pseries/vas.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/pseries/vas.c b/arch/powerpc/platforms/pseries/vas.c
index 3385b5400cc6..b5c1cf1bc64d 100644
--- a/arch/powerpc/platforms/pseries/vas.c
+++ b/arch/powerpc/platforms/pseries/vas.c@@ -12,6 +12,7 @@ #include <linux/delay.h> #include <linux/slab.h> #include <linux/interrupt.h> +#include <linux/irqdomain.h> #include <asm/machdep.h> #include <asm/hvcall.h> #include <asm/plpar_wrappers.h>
--
2.25.1