EDAC/ppc_4xx: Include required of_irq header directly
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 2 Aug 2022 10:30:38 +0000 (12:30 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Aug 2022 12:30:14 +0000 (22:30 +1000)
Commit 4d5c5bad5193 ("powerpc: Remove asm/prom.h from asm/mpc52xx.h
and asm/pci.h") that cleans up powerpc's asm/prom.h leads to build
errors in ppc4xx_edac.c due to missing header. Include required
header directly to avoid the build failure.

Fixes: 4d5c5bad5193 ("powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/993f5a7da371458cb819b5f3f569073c78523b01.1659436180.git.christophe.leroy@csgroup.eu
drivers/edac/ppc4xx_edac.c

index 6793f6d799e7d4b1f7262171284dc919bcd36753..0bc670778c9920c72b2316b221be8f4098cf342d 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/of_device.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/types.h>