summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-08-02 12:30:38 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-08-02 22:30:14 +1000
commitbce02f71e48f7b89b9b52424ad2df4e5bc87a8ec (patch)
treed631753477cf82d6542431799186368e0fbcdd6e /drivers/edac
parentf4b39e88b42d13366b831270306326b5c20971ca (diff)
downloadlinux-stable-bce02f71e48f7b89b9b52424ad2df4e5bc87a8ec.tar.gz
linux-stable-bce02f71e48f7b89b9b52424ad2df4e5bc87a8ec.tar.bz2
linux-stable-bce02f71e48f7b89b9b52424ad2df4e5bc87a8ec.zip
EDAC/ppc_4xx: Include required of_irq header directly
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
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/ppc4xx_edac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index 6793f6d799e7..0bc670778c99 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -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>